empty out an array in c# code example Example: c# clear an array using System; Array.Clear(arrayToClear, 0, arrayToClear.Length);