Boo.Lang.Runtime.RuntimeServices.FormatOperatorName C# (CSharp) Method

FormatOperatorName() private static method

private static FormatOperatorName ( string operatorName ) : string
operatorName string
return string
        private static string FormatOperatorName(string operatorName)
        {
            Debug.Assert(operatorName.StartsWith("op_"));

            var result = new StringBuilder(operatorName.Length);
            result.Append(operatorName[3]);
            foreach (var ch in operatorName.Substring(4))
                if (char.IsUpper(ch))
                {
                    result.Append(" ");
                    result.Append(char.ToLower(ch));
                }
                else
                    result.Append(ch);
            return result.ToString();
        }
RuntimeServices