CSharp examples for System:Array Element
Clear array element
using System.Linq; using System.Collections.Generic; using System;//from www.j a va 2 s. com public class Main{ public static void Clear<T>(this T[] array, int index, int length) { Array.Clear(array, index, length); } // **************************** static public void Clear<T>(this T[] array) { Array.Clear(array, 0, array.Length); } }