public static void Main()
Console.WriteLine("Enter a string to convert to pascal case:");
string str = Console.ReadLine();
for (int i = 0; i < str.Length; i++)
string up = str[i].ToString();
string remainingChar = str[i].ToString();
restchar = restchar + remainingChar.ToLower();
string word = firstup + restchar;
string[] arr = word.Split(' ');
for (int j = 0; j <= arr.Length - 1; j++)