How to remove all List collection items?

 Posted by Rajesh_Kumar on 1/18/2014 | Category: ASP.NET Interview questions | Views: 704 | Points: 40
Answer:

We can use Clear method to clear all items from a List collections.

For Example:-

list.Clear();


Here,list is my List collection.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response