public static TargetArrayBounds MakeSimpleArray(int length) { TargetArrayBounds bounds = new TargetArrayBounds { Rank = 1 }; bounds.length = length; return bounds; }