List
what is list in .net
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Satyapriya NayakRank #47 · 31.5K reputationPosted Nov 8, 2012, 4:01 AM EST
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
Hemant SrivastavaRank #581 · 4.2K reputationPosted Nov 8, 2012, 12:51 PM EST
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/