Working with collections

A collection in .NET defines a group of related data or elements. Elements can be variables of simple data types such as int, float, or String or can be complex data variables such as a class or structure. While working with .NET applications, we often need to work with such collections. We can execute operations such as these:

  • Creating a collection
  • Adding an element to a collection
  • Reading elements present in the collection
  • Removing elements present in the collection

In this section, we will understand what the different types of collections available in .NET are and how programmers can execute operations on them. 

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.16.139.8