If i finished my process in a console app, and i want to repeat my process and insert my values again in the same console window, i do not want to exit and debug again,
Sorry my english is not well.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Akkiraju IvaturiPosted Jan 18, 2013, 1:40 PM
String Continue;
do
{
Console.WriteLine("Current Timestamp:"+DateTime.Now.ToString());
//Place your value insertion code instead of above statement
//Press N to stop the process. otherwise loop thru.
Console.WriteLine("Do you want to continue? (Y/N)");
Continue=Console.ReadLine();
}
while(Continue.ToUpper()!="N");
Akkiraju IvaturiPosted Jan 19, 2013, 10:05 AM
islam elbazPosted Jan 19, 2013, 8:41 AM
Akkiraju IvaturiPosted Jan 19, 2013, 12:27 AM
islam elbazPosted Jan 18, 2013, 8:29 PM