public static Info GetConstantValueByIndex(int Index) { if (Index < 0 || Index >= Constants.Length) throw(new InvalidOperationException(String.Format("Invalid constant index '{0}'", Index))); return Constants[Index]; }