C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




What are Collections?


Posted Date: 18 Sep 2008    Resource Type: Code Snippets    Category: Collections

Posted By: Ratnasri       Member Level: Bronze
Rating:     Points: 5



Before going into Collections Just remember the Arrays Concept.
why because Collections are introduced to avoid the limitations with Arrays.
Limitations in Arrays are:
->Only similar data has to be stored
->There are no methods acting on arrays.....

Collections:
Array means group of similar Datatypes.Like that
Collection means an object contains group of similar/non-similar ObjectTypes.

In Arrays,we store only DATA.Similar to that In Collections, we store only OBJECT types.

If we want to store primitive data in a Collection then,that data has to be converted into object type and then store it into collection object.

There are number of predefined methods available for Collections.we can apply them on our data for processing

How No. of objects are stored in a single-object(Collection)?
Ans:Object references are stored in a Collection object.Not physically objects are stored.





Responses

Author: sri    01 Oct 2008Member Level: Bronze   Points : 1
HI

Thanks for sharing of the information
It is really usefull for me

PLEASE POST these type of articles , collections , codesnippets
and share the KNOWLEDGE with others

Once again Thank u


Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Introduction to Collections  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Difference between Arraylist and Generic List
Previous Resource: Form Authentication in asp.net
Return to Discussion Resource Index
Post New Resource
Category: Collections


Post resources and earn money!
 
Related Resources



dotNet Slackers   BizTalk Adaptors    Web Design

doors in nj

Contact Us    Privacy Policy    Terms Of Use