At this time, I am developing a script that will take employee information and display the info in a particular way IN this case, I attempted to use the `.ToString' method so keep the input displayed on the same line without creating a new line I know this is fairly simple, however i'm not fimilar with the error that was displayed. Any help would be appreciated.
Sample of Code:
Console.WriteLine("********* Prompt for Employee information and create first employee **********");
Console.WriteLine("");
Console.WriteLine("Enter the First name: ");
Console.Write(line.ToString());
if (line.Contains("x"))
{
Console.WriteLine("Enter the Last name: ");
line2 = Console.ReadLine();
//Rest of Code Follows Same Flow...