What is difference between list and ilist in c#?



What is difference between list and ilist in c#?..

Answer / Pinki Dhama

List<T> in C# is a generic collection of objects that can store any type, and it automatically manages the memory for adding and removing elements. IList<T> is also a generic interface that represents a collection of objects with strongly-typed indexing, but it does not provide automatic memory management; you must implement this functionality manually.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

what are delegates? How you used then in your project?

10 Answers   Hawk Eye, IndiaTimes, Kanbay,


how to deplaoy a project in the system?

1 Answers  


What language do desktop applications use?

1 Answers  


Define sealed classes in c#?

1 Answers  


How do you convert byte array to hexadecimal string, and vice versa?

1 Answers  


What are the 2 kinds of data type conversions in c#?

1 Answers  


What is clr in c#?

1 Answers  


What is a linq in c#?

1 Answers  


What are constructors in c#?

1 Answers  


What is distribute by in hive?

1 Answers  


What is Signature and parameter in overloading ?

3 Answers  


Which compiler switch creates an xml file from xml comments in the files in an assembly?

1 Answers   Siebel,


Categories