Posted: 10/15/2010
Hello Experts,
Non - Generic collection class - which collection can hold the different type of data.
Generic collection class - which collection can hold the same type of data.
Now can anyone tell me what is the difference between Collection and Generic?
Thanks in advance.
Collections are enumerable data structures that can be assessed using indexes or keys.Using generic collection classes provides increased type-safety and in some cases can provide better performance, especially when storing value types. For more information see:http://blogs.msdn.com/b/jeremykuhne/archive/2005/07/22/generic-collections-i.aspx