xxxxxxxxxx
int[] numbers = { 1, 2, 3, 4, 5 };
// To clear the contents of the array
Array.Clear(numbers, 0, numbers.Length);
// Now the array is empty
// numbers.Length will be 0
xxxxxxxxxx
var listOfStrings = new List<string>();
// do stuff...
string[] arrayOfStrings = listOfStrings.ToArray();