The different types of collections in C sharp are:
- ArrayList - This is the most basic collection type. It is similar to an array in that it has a fixed size. The difference is that an array can only store elements of the same type, but an ArrayList can store elements from different types.
- LinkedList - This collection type stores its items as nodes in a linked list structure, which means that each node has references to other nodes and not direct pointers to their content like arrays do. There are many advantages for this structure, including being able to add or remove nodes without
Share a personalized message with your friends.