public static void Main()
Console.Write("5, 3, 8, 1, 4 ... => Max is: ");
Console.WriteLine(MaxDigit("5, 3, 8, 1, 4"));
public static char MaxDigit(string input)
for (var i = 1; i < input.Length; i++)
maxChar = maxChar > input[i] ? maxChar : input[i];