Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C# Collection
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Miscellaneous
Thread ID:
01334577
Message ID:
01334609
Views:
8
>I want to create a collection of instances of a class I wrote. How do I do this in C#?

Best use generics.

System.Collections.Generics.List

or to make it more readable:
public class myClassList : System.Collections.Generics.List<myClass>
and use an instance of myClassList
Previous
Reply
Map
View

Click here to load this message in the networking platform