internal static jpeg_component_info[] createArrayOfComponents(int length) { if (length < 0) throw new ArgumentOutOfRangeException("length"); jpeg_component_info[] result = new jpeg_component_info[length]; for (int i = 0; i < result.Length; ++i) result[i] = new jpeg_component_info(); return result; } }