collections Archives

Collections

Author - Webner
|
0 Comments
|

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 Read more…

Collections in C#

Author - Monika Dhiman
|
0 Comments
|

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 Read more…