Collections- introduction - DotNet and DataBase

Thursday, 19 July 2018

Collections- introduction



A collection stores group of elements. Using collection we can perform different operations on elements like "Storing data,updating the data, delete the data,retrieve data, search and sort".

We can store data in array or collection. Collection has more advantages than array.
Array has limited size to store the elements but collection size get grow dynamically.
It is not possible to insert now value in the array as it as fixed size.
It is possible in collections.

Names space:
System.Collections

Some list of collections available with System.Collections:
ArrayList
List
Dictionary
Hashtable
Stack
Queue



No comments:

Post a Comment

x

Get Updates On

Discussion updates

Straight Into Your INBOX!

Enter your email address to subscribe to this website and receive notifications of new posts by email.