how to create a character array which will accept 8 characters from the user and than convert that array into string variable and if the user gives the more than 8 characters the program will throw an error. it's very difficult????
char ar = new char;
Console.WriteLine("Enter The FileName(MAX 10 Alphabets");
for (int i = 0; i<8; i++)
ar[i] = Convert.ToChar(Console.ReadLine());
for (int j = 0; j<8; j++)
//how to convert array into string with help of loop.
//missing the error statement