System.Core 3.5.0.0 4.0.0.0 Covariant Covariant System.Collections.Generic.IEnumerable<TElement> To be added. To be added.

An is an that additionally has a key. The key represents the attribute that is common to each value in the .

The values of an are accessed much as the elements of an are accessed. For example, you can access the values by using a foreach in csprcs or For Each in vbprvb loop to iterate through the object. The Example section contains a code example that shows you how to access both the key and the values of an object.

The type is used by the standard query operator methods, which return a sequence of elements of type .

Represents a collection of objects that have a common key.

- Property
  3.5.0.0
  4.0.0.0
  TKey To be added.

  The key of an represents the attribute that is common to each value in the .

  Gets the key of the .