namespace InnovEnergy.Lib.Utils; public static class ArrayExtensions { public static T[] Clear(this T[] ts) { Array.Clear(ts, 0, ts.Length); return ts; } public static T[] Fill(this T[] ts, T element) { Array.Fill(ts, element); return ts; } }