BlindPrediction.Program.FirstCharToUpper C# (CSharp) Method

FirstCharToUpper() static private method

static private FirstCharToUpper ( string input ) : string
input string
return string
        static string FirstCharToUpper(string input)
        {
            if (String.IsNullOrEmpty(input))
                throw new ArgumentException("ARGH!");
            return input.First().ToString().ToUpper() + input.Substring(1);
        }