Try it out in an IDE and find out. We don't live in the 1950's and 1960's where you had to punch cards, submit the cards for a job run, and come back the next day to get a print out the next day to see if your program ran correctly or not.
Just scanning that code though, it looks like If is not a C# keyword, and the compiler will likely have a fit with Consol....this is true.
Try it out in an IDE and find out. We don't live in the 1950's and 1960's where you had to punch cards, submit the cards for a job run, and come back the next day to get a print out the next day to see if your program ran correctly or not.
Just scanning that code though, it looks like If is not a C# keyword, and the compiler will likely have a fit with Consol....this is true.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.