The Collection classes are a group of classes designed specifically for grouping together objects and performing tasks on them.
List class is a collection and defined in the System.
Collections.Generic namespace and it provides the methods and properties like other Collection classes such as add, insert, remove, search etc.
The C# List < T > class represents a strongly typed list of objects that can be accessed by index and it supports storing values of a specific type without casting to or from object.
Referred from :- http://csharp.net-informations.com/collection/list.htm
Download Code from below link :- https://app.box.com/s/kplszfmpooytythic1b29u85uhiffo9s
Example :-
For calling this class method in void Main.
Final output :-
List class is a collection and defined in the System.
Collections.Generic namespace and it provides the methods and properties like other Collection classes such as add, insert, remove, search etc.
The C# List < T > class represents a strongly typed list of objects that can be accessed by index and it supports storing values of a specific type without casting to or from object.
Referred from :- http://csharp.net-informations.com/collection/list.htm
Download Code from below link :- https://app.box.com/s/kplszfmpooytythic1b29u85uhiffo9s
Example :-
For calling this class method in void Main.
Final output :-
Comments