0 like 0 dislike
4 views
asked in C sharp (C#) by (5.3k points)
edited by
How can I convert a List to a regular array in the C# (C Sharp) programming language?

list to array

Your answer

Try to answer the question as detailed as possible.
Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

1 Answer

0 like 0 dislike
answered by (5.3k points)
edited by

The List<T>.ToArray() method copies the elements of the List<T> list to a new array.

Links

Related questions

0 like 0 dislike
1 answer 6 views
0 like 0 dislike
1 answer 6 views
0 like 0 dislike
1 answer 16 views
0 like 0 dislike
1 answer 9 views
0 like 0 dislike
1 answer 20 views
0 like 0 dislike
1 answer 15 views
0 like 0 dislike
1 answer 3 views
0 like 0 dislike
1 answer 24 views
0 like 0 dislike
1 answer 11 views
0 like 0 dislike
1 answer 24 views
...