public static void Array_Create() { //this example shows how to create non-default value array //use ArrayExt.Create(length, defaultValue) to create non-default value array var bools = ArrayExt.Create(5, true); //show results Console.WriteLine(bools.ToString(", ")); }
public static void Enum() { //this example shows how to create array from enum type //ArrayExt.Enum<enumType> create array of the enum type var days = ArrayExt.Enum <DayOfWeek>(); //show result Console.WriteLine(days.ToString(", ")); }