Aracılığıyla paylaş


Creating and Manipulating Collections

The most common collections are provided by the .NET Framework. You can use any of them or create your own collection based on one of them. Each collection is designed for specific purposes. The members included in each System.Collections class reflect the purpose of the collection. In addition, the generic collections in System.Collections.Generic make it easy to create strongly typed collections.

If you decide to implement your own collection, use the following guidelines:

In This Section

Reference

  • Collections and Data Structures
    Discusses the various collection types available in the .NET Framework, including stacks, queues, lists, arrays, and structs.

  • Serialization Concepts
    Discusses two scenarios where serialization is useful: when persisting data to storage and when passing objects across application domains.