List is a .net collection that can have a collection of any built-in data type (such as string, int, double etc.) or User defined data types (classes, struct)
For example: you could create a List of String in following way:
List list = new List();
After that, you need to add elements into that list and then you could perform various operation on that such as: finding element, get first element, get index position of any elemnt etc.
Here is the link that also explains varios types of operation of a list of user defined "Person" class:
Hemant SrivastavaPosted Nov 8, 2012, 5:51 PM
For example: you could create a List of String in following way:
List
After that, you need to add elements into that list and then you could perform various operation on that such as:
finding element, get first element, get index position of any elemnt etc.
Here is the link that also explains varios types of operation of a list of user defined "Person" class:
http://www.c-sharpcorner.com/UploadFile/0f68f2/using-lambda-expression-over-a-list-in-C-Sharp/
Satyapriya NayakPosted Nov 8, 2012, 9:01 AM
Please refer the below links
http://www.dotnetperls.com/list
http://www.c-sharpcorner.com/UploadFile/mahesh/list-in-C-Sharp/
Thanks
If this post helps you mark it as answer