Collection in .NET - enumerate through the members of a collection - DOT.NET

Explain collection in .NET and describe how to enumerate through the members of a collection.

There are various collection types in .NET which are used for manipulation of data. Collections are available in System.Collections namespace

IEnumerator is the base interface for all enumerators. Enumerators can only read the data from the data collections but not modify them. Reset and MoveNext are the methods used with enumerators which bring it back to the first position and move it to the next element position respectively. Current returns the current object.
Similarities and differences between arrays and collections - DOT.NET
The Array class is not part of the System.Collections namespaces. But an array is a collection, as it is based on the IList interface......
Describe the two kinds of multidimensional arrays in .NET - DOT.NET
There are two types of multidimensional arrays: Rectangular arrays, Jagged arrays....
Define context menu - DOT.NET
The menu that you get when you right-click is called the context ment....
Post your comment