How to add items into List collection?

 Posted by Rajesh_Kumar on 1/18/2014 | Category: C# Interview questions | Views: 1893 | Points: 40

With the help of Add method,we can add items into List collections:-
We have to import using System.Collections.Generic Namespace.

For Example:-

List<string> lst_courses = new List<string>();


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response