Single String Mergging to Print Console Application

Jayakumars
Posted by Jayakumars under ASP.NET AJAX category on | Points: 40 | Views : 743
static void Main(string[] args)
{
string str = "car";
string tot = "";
for (int i = 0; i < str.Length; i++)
{
tot = tot+ str[i].ToString();
Console.WriteLine(tot);
}
Console.Out.Flush();
var name = Console.ReadLine();
}

Comments or Responses

Login to post response