Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How do you clear a list in c#?



How do you clear a list in c#?..

Answer / Minhaj Uddin

To clear a List<T> in C#, use the Clear() method. For example: myList.Clear();

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

what is a constructor?

5 Answers   Amazon, Amdocs, Choice Solutions,


what is lamda expression?

3 Answers  


Write one code example for compile time binding and one for run time binding? What is early/late binding?

1 Answers  


Which types of inheritances does c# support?

1 Answers  


Difference between value and reference type.

1 Answers  


What is the difference between Abstract and Interface?

22 Answers   Agile Software, FER, HCL, Sys Universe,


What is difference between dictionary and list in c#?

1 Answers  


Is string a primitive data type in c#?

1 Answers  


What are virtual classes in c#?

1 Answers  


Is it possible to inherit multiple interfaces?

1 Answers   Siebel,


How can i load the text box and label at the runtime based on the existing text box and tabel

2 Answers   Merrill Lynch, Patni,


What are Indexers in C#?

1 Answers   SwanSoft Technologies,


Categories