Types of Classes in C#

Background As we know, C# is a pure Object Oriented Programming language that provides the ability to reuse existin…

Convert a DataTable to Generic List Collection

Step 1:  Since we need to create a List<T>, define an instance and in this list we need to add our custom type T…

Generate class from database table

I just need to create the entities (simple class). Something like: public class Person { public string N…