QA

   

Q&A

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


Sams Teach Yourself Visual C++. NET in 24 Hours
Sams Teach Yourself Visual C++.NET in 24 Hours
ISBN: 0672323230
EAN: 2147483647
Year: 2002
Pages: 237

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net