Skip to content

Use Generic type instead of object type #21

@kavekardel

Description

@kavekardel

You can use the generic type instead of the object type throughout the ExcelWizard project.
For example, we can use List<T> as input of the WithOneSheetUsingModelBinding(object bindingListModel) method. like this:
WithOneSheetUsingModelBinding<T>(List<T> bindingListModel)

The main benefit of using generic types in your method is strong type safety, which helps catch type-related errors at compile time, enhances code clarity, and promotes code reusability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions