Generics allow us to design classes and methods decoupled from data types. Generic classes available in System. Collections. Generic namespace.
Very often we need to convert List To DataTable,so that we can pass DataTable to Stored Procedure as Paramter in the form of tvp