No code example is currently available or this language may not be supported.
The following example contains a list of complex objects of type Cube. The Cube class implements the IEquatable<'T>.Equals method so that two cubes are considered equal if their dimensions are the same. In this example, the Contains method returns true, because a cube that has the specified dimensions is already in the collection.
Universal Windows Platform Available since 8 .NET Framework Available since 2.0 Portable Class Library Supported in: portable .NET platforms Silverlight Available since 2.0 Windows Phone Silverlight Available since 7.0 Windows Phone Available since 8.1