108,860 views 120 on YTPak
321 7

Published on 30 Aug 2013 | over 3 years ago

Tags
c# list foreach example
c# list for loop
c# list benefits
c# list advantages
c# access list element
c# list add item
c# list get all elements
c# list insert item at index
c# list insert at beginning
c# list get element at position
c# list insert method
c# list class example
c# list indexof method
c# get list item index

Difference between generic and non generic collections
www.youtube.com/watch

Link for code samples used in the demo
csharp-video-tutorials.blogspot.com/2013/08/part-74-list-collection-class-in-c.html

Link for csharp, asp.net , ado.net , dotnet basics, mvc and sql server video tutorial playlists
www.youtube.com/user/kudvenkat/playlists

List is one of the generic collection classes present in System.Collections.Generic namespcae. There are several generic collection classes in System.Collections.Generic namespace as listed below.
1. Dictionary - Discussed in Parts 72 & 73
2. List
3. Stack
4. Queue etc

A List class can be used to create a collection of any type. For example, we can create a list of Integers, Strings and even complex types. The objects stored in the list can be accessed by index. Unlike arrays, lists can grow in size automatically. This class also provides methods to search, sort, and manipulate lists.

Loading related videos...