.NET Framework Developer's Guide
Selecting a Collection Class

Be sure to choose your System.Collections class carefully. Using the wrong type can restrict your use of the collection.

Consider the following questions:

LINQ to Objects

LINQ to Objects allows developers to use LINQ queries to access in-memory objects as long as the object type implements IEnumerable or IEnumerable<(Of <(T>)>). LINQ queries provide a common pattern for accessing data, are typically more concise and readable than standard foreach loops and provide filtering, ordering and grouping capabilities. In addition, LINQ queries can also provide performance increases. For more information, see LINQ to Objects.

See Also

Reference

Other Resources

Tags :


Page view tracker