.NET Framework 4.6 and 4.5
Removes all items from the ICollection<T>.
Assembly: mscorlib (in mscorlib.dll)
Count must be set to 0, and references to other objects from elements of the collection must be released.
.NET FrameworkSupported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
.NET Framework Client ProfileSupported in: 4, 3.5 SP1
XNA FrameworkSupported in: 3.0, 2.0, 1.0
.NET for Windows Phone appsSupported in: Windows Phone 8.1, Windows Phone Silverlight 8.1, Windows Phone Silverlight 8
Portable Class LibrarySupported in: Portable Class Library