190,713 views 157 on YTPak
601 26

Published on 30 Aug 2013 | over 4 years ago

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

Link for code samples used in the demo

Link for csharp, asp.net , ado.net , dotnet basics, mvc and sql server video tutorial 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.
Customize Your Hybrid Embed Video Player!

6-digit hexadecimal color code without # symbol.


Report video function is under development.


Loading related videos...