Tag: collections
Collections
Collections: It holds many values or objects in a specific series. The two types of collections in C# : Non-generic collections Generic collections NON-GENERIC COLLECTIONS Hierarchical structure of non-generic collections: <interface> IEnumerator <interface> IEnumerable <interface> ICollection <interface> IDictionary Hashtable Sorted
Collections in C#
Collections in C# Arrays Arrays are useful for creating and working with a fixed number of strongly typed objects. Problem with Arrays: 1. Fixed length 2. Insert similar data type elements Collections Collections are used to create and manage groups