Click here to Skip to main content
15,040,090 members
Please Sign up or sign in to vote.
2.78/5 (6 votes)
See more:
hi 1:what is function gotoxy(x,y) in c#.
2:what is function delay(50) in c#.
Tarun.K.S 6-Jan-11 10:59am
Google these questions and you will definitely get tons of answers.
lw@zi 6-Jan-11 11:04am
Which type of application are you speaking about? Console applications will have a different way of doing this and others will have different way.

1 solution

There is no equivilant.
The console is just for input and output, there are no co-ordinates.

Try SetConsoleCursorPosition

Try Thread.Sleep(50)
lw@zi 6-Jan-11 11:06am
What about SetConsoleCursorPosition method?
Dalek Dave 6-Jan-11 11:08am
Thanks Danish, I had not thought about that!
CPallini 6-Jan-11 12:49pm
Then update your answer and you'll receive a ton of 5s. :-)
fjdiewornncalwe 6-Jan-11 14:36pm
+5 from me.
CPallini 6-Jan-11 15:49pm
+5 from me too.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900