C#/XAML for HTML5 Documentation
C#/XAML for HTML5 Documentation
Reference
System.Collections.Generic
List(T) Class
List(T) Methods
Add Method
AddRange Method
AsReadOnly Method
BinarySearch Method
Clear Method
Contains Method
ConvertAll(TOutput) Method
CopyTo Method
Exists Method
Find Method
FindAll Method
FindIndex Method
ForEach Method
GetEnumerator Method
IndexOf Method
Insert Method
InsertRange Method
Remove Method
RemoveAll Method
RemoveAt Method
RemoveRange Method
Reverse Method
Sort Method
ToArray Method
TrueForAll Method
List
T
ToArray Method
Copies the elements of the
List
T
to a new array.
Namespace:
System.Collections.Generic
Assembly:
mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
Copy
public
T[]
ToArray
()
Return Value
Type:
T
An array containing copies of the elements of the
List
T
.
See Also
Reference
List
T
Class
System.Collections.Generic Namespace