public static VArray CreateArray(params object[] arrayItems) { var values = arrayItems.Select(Create); var collection = new VArray(values); return(collection); }
public static VArray CreateArray(IEnumerable enumerable) { var items = enumerable.Cast <object>(); var values = items.Select(Create); var collection = new VArray(values); return(collection); }