thiago costa

thiago costa

  • NA
  • 319
  • 0

Is this possible in c# ?

Jan 9 2011 7:58 PM

Hello there guys,
I had a question... I am trying to figure something out, so I can be more confident with my coding.
In a batch file, this is how I do it...
 @echo off
echo hello !!!
goto PLACE3
:PLACE1
echo place1
:PLACE2
echo place2
:PLACE3
 
echo place3
pause
exit
 

how do I do exactly that, in c# ? ... how do I use goto in c# ? like, skip what ever else comes next, and skip to that specific line next..
 
Thanks guys.

Answers (10)