![]() ![]() |
Q1: | What if none of the collections does what I need it to do? |
A1: | You are free to make your own collection class. As mentioned earlier, the collection classes implement certain collection interfaces, such as ICollection, IEnumerable, and IList. Simply create a new class that implements these interfaces. |
Q2: | Is there a linked list collection class? |
A2: | Surprisingly, no. The reason is that C++ is the only .NET language that supports the use of pointers—something that linked lists use. Because the .NET Framework works across different languages, there is no way to implement this type of collection. |
![]() ![]() |
Top |