Skip to content
InfinityKnow

InfinityKnow

Infinity Knowledge (IK) : Technology, Articles, Topics, Facts or many More.

  • Home
  • Education
    • yttags
    • Make Money
    • Jobs
    • Programming
      • Technology
      • Web Design
      • WEB HOSTING
      • Interview
  • Entertainment
    • pakainfo
    • Sports
    • Tips and Tricks
      • Law
      • Photography
      • Travel
  • Health
    • Insurance
    • Lifestyle
      • Clothing
      • Fashion
      • Food
  • News
    • Insurance
      • Auto Car Insurance
      • Business Insurance
    • Donate
    • California
  • News
    • Political
  • Home Improvement
  • Trading
    • Marketing
    • Top Tranding
    • Business
    • Real Estate
  • Full Form
  • Contact Us
  • Vuejs Nested Templates and Components using Nested Router
    Vuejs Nested Templates and Components using Nested Router Technology
  • vuejs datatable example – Datatable component using Vuejs-vuejs datatable
    vuejs datatable example – Datatable component using Vuejs-vuejs datatable Technology
  • sez full form – sez Kya Hai, Meaning and Abbreviation – What is the full form of sez? full form
  • Angularjs Expand and Collapse Animation directive
    Angularjs Expand and Collapse Animation directive Technology
  • AngularJS Set Cookies Get Cookies ClearCookies
    AngularJS Set Cookies Get Cookies ClearCookies AngularJs
  • Vuejs Simple Image Slider Component - JavaScripts
    Vuejs Simple Image Slider Component – JavaScripts Technology
  • Angular http POST pass Multiple Parameters PHP MySQLi Technology
  • JavaScript Capitalize First Letter of each sentence
    JavaScript Capitalize First Letter of each sentence Technology

C# Collections Tutorial with Examples

Posted on June 25, 2019 By admin No Comments on C# Collections Tutorial with Examples

C# Collections Tutorial with Examples

Today, We want to share with you C# Collections Tutorial with Examples.
In this post we will show you Basics of .NET Collections in C#, hear for C# Collections (Index) we will give you demo and example for implement.
In this post, we will learn about C# collections – working with CSharp collections with an example.

Introduction: C# Collections

In this post, we will learn about C# Collections .

In C#, the collection represents group/bunch of objects. With the help of collections, you can perform various operations on objects such as a store, update, delete, sort search and retrieve.

READ :  Vue js Drag and drop multiple file upload with progress bar

In short, most noteworthy work can be performed by C# collections. We can store objects in the collection or array. The collection has an advantage over an array. The array has size limit but objects stored in the collection can grow or shrink therefore it is dynamic.

Types of Collections in C#:

There are 3 ways to work with collections. The three namespaces are listed below:

  • System.Collections.Generic
  • System.Collections
  • System.Collections.Concurrent

1. System.Collections.Generic classes:

  • List
  • Stack
  • Queue
  • LinkedList
  • SortedSet in C#.Net
  • HashSet
  • Dictionary in C#.Net
  • SortedDictionary
  • SortedList in C#.Net

2. System.Collections classes

  • ArrayList
  • Stack
  • Queue
  • Hashtable

3. System.Collections.Concurrent classes

The System.Collections.Concurrent namespace provides set of classes for thread-safe operations. Now multiple threads will not cause problem for accessing the collection items.
This namespace has following classes:

  • BlockingCollection
  • ConcurrentBag
  • ConcurrentStack
  • ConcurrentQueue
  • ConcurrentDictionary
  • Partitioner
  • OrderablePartitioner
READ :  ziparchive class not found in laravel 6

Read :

  • Technology
  • Google Adsense
  • Articles

Summary

You can also read about AngularJS, ASP.NET, VueJs, PHP.

I hope you get an idea about Top 10 C# Collections that Every C# Developer Must Know
.I would like to have feedback on my Infinityknow.com blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.

Related posts:

  1. Vuejs Simple Navigation Menu vue router-link params
  2. Responsive Navigation Menu CSS Free download
  3. vuejs toggle class – vue js v-class – Dynamic Components in Vuejs
  4. Vuejs Simple Tooltip Plugin v-tooltip Example
Technology, Asp.Net Tags:arraylist in c#, c# collections list, collections in c# interview questions, collections in c# javatpoint, collections in c# with examples codeproject, generic and non generic collections in c#, generic collections in c#, generics in c#

Post navigation

Previous Post: Vue js Simple CKEditor Instance Get textarea value
Next Post: Vue-router – Routing using Vuejs – Dynamic Components in Vuejs

Related Posts

  • AngularJS Country State City Cascading DropDownList
    AngularJS Country State City Cascading DropDownList Technology
  • How to Get Data From mysql using VueJs and PHP
    How to Get Data From mysql using VueJs and PHP Technology
  • JavaScript Read XML File local Example
    JavaScript Read XML File local Example Technology
  • Load More Data on Page Scroll using Ajax Jquery Laravel 6 Technology
  • PHP Simple cURL API call using POST
    PHP Simple cURL API call using POST Technology
  • AngularJS datagrid paging sorting filter using PHP and MySQL
    AngularJS datagrid paging sorting filter using PHP and MySQL Technology

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Account web hosting (1)
  • AngularJs (277)
  • Articles (143)
  • Asp.Net (49)
  • Astrology (2)
  • Attorney (7)
  • Auto Car Insurance (4)
  • Biography (2)
  • Business (9)
  • Business Insurance (3)
  • California (4)
  • Choose the web hosting (1)
  • Clothing (6)
  • cloud (8)
  • Cloud data storage (2)
  • Credit (1)
  • Dedicated hosting server web (1)
  • Dedicated server web hosting (1)
  • Dedicated web hosting (1)
  • Degree (11)
  • Design (9)
  • Differences shared hosting (1)
  • Donate (2)
  • Education (37)
  • Energy web hosting (1)
  • Entertainment (6)
  • Facts (12)
  • Fashion (3)
  • Finance (3)
  • Food (5)
  • full form (90)
  • Google Adsense (22)
  • Health (21)
  • Home Improvement (5)
  • Insurance (7)
  • Interview (2)
  • Jobs (6)
  • jquery (2)
  • jQuery (2)
  • Laravel (164)
  • Lawyer (4)
  • Lifestyle (6)
  • Loans (6)
  • Make Money (31)
  • Managed dedicated server (1)
  • Managed hosting solution (1)
  • Managed servers (1)
  • Marketing (8)
  • Mortgage (2)
  • Movies (21)
  • MySQL (180)
  • News (5)
  • Photography (1)
  • PHP (250)
  • Programming (18)
  • Quotes (75)
  • Real Estate (2)
  • SEO (9)
  • Shared web hosting (1)
  • Shayari (67)
  • Sports (5)
  • Status (34)
  • Stories (45)
  • suvichar (8)
  • Tech (3)
  • Technology (675)
  • Tips and Tricks (43)
  • Top Tranding (36)
  • Trading (28)
  • Travel (12)
  • Uncategorized (8)
  • VueJs (179)
  • Web Design (2)
  • WEB HOSTING (1)
  • Web hosting company (1)
  • Web hosting really (1)
  • Web hosting windows (1)
  • Which website hosting (1)
  • Wishes (13)
  • wordpress (15)

Categories

AngularJs (277) Articles (143) Asp.Net (49) Attorney (7) Business (9) Clothing (6) cloud (8) Degree (11) Design (9) Education (37) Entertainment (6) Facts (12) Food (5) full form (90) Google Adsense (22) Health (21) Home Improvement (5) Insurance (7) Jobs (6) Laravel (164) Lifestyle (6) Loans (6) Make Money (31) Marketing (8) Movies (21) MySQL (180) News (5) PHP (250) Programming (18) Quotes (75) SEO (9) Shayari (67) Sports (5) Status (34) Stories (45) suvichar (8) Technology (675) Tips and Tricks (43) Top Tranding (36) Trading (28) Travel (12) Uncategorized (8) VueJs (179) Wishes (13) wordpress (15)
  • Vuejs – Converting a String to Object – Vuejs string to object Parsing JSON
    Vuejs – Converting a String to Object – Vuejs string to object Parsing JSON Technology
  • wef full form – wef full form Kya Hai, Meaning and Abbreviation – What is the full form of wef full form? full form
  • Vue.js Routing With vue-router
    Vue.js Routing With vue-router Technology
  • Woocommerce Product publish, update and delete hooks PHP
  • Angular convert Round to 2 decimals places Technology
  • akelapan shayari Shayari
  • Cheap Adventures
    8 Cheap Adventures you can enjoy Within Your Budget Travel
  • The Future of AngularJS Framework Technology

Copyright © 2022 InfinityKnow.

Powered by PressBook News WordPress theme