Console.WriteLine(" ----------------");
Console.WriteLine(" | |");
Console.WriteLine(" | write your |");
Console.WriteLine(" | name |");
Console.WriteLine(" | Console.Readline(); |");
Console.WriteLine(" ----------------");

Joxin Stanly181 reputationPosted Sep 10, 2013, 3:15 AM EDT
try somthing below-:
Console.WriteLine(" ----------------");
Console.WriteLine(" | |");
Console.WriteLine(" | write your |");
Console.WriteLine(" | name |");
string getInput = Console.Readline();
Console.WriteLine(" |" + getInput +" |");
Console.WriteLine(" ----------------");
Rasmus Lorenzen3 reputationPosted Sep 10, 2013, 12:40 PM EDT
i want it to load the whole box first and then i should write the name inside the box
Joxin Stanly181 reputationPosted Sep 11, 2013, 5:31 AM EDT
putting string getInput = Console.Readline(); at the start will help??
Suthish NairRank #92 · 22.8K reputationPosted Sep 11, 2013, 5:57 AM EDT
string strResponse = Interaction.InputBox("write your name");
if (strResponse != string.Empty)
{
Console.WriteLine(" | " + strResponse + " |");
}
Console.WriteLine("Enter some characters.");
string str = Console.ReadLine();
Console.WriteLine("You entered: " + str);
Console.ReadLine();