C
CSharp-Jay
Hello all, I am new to C# and think I am finally starting to get it.
However, I have an issue right now that I believe is due to the fact
that I do not know how to close a Console application in code. You
would think its something like Console.Terminate or Quit or Close or
one of them, but that just isn't it, according to Visual Studio 2008.
As a result, my code jumps to my QuitGame() method, peels through it
nicely, then starts browsing around in a try/catch/finally statement I
have in my code for int parsing. After it gets done, it bombs out the
program. So I was hoping somebody could tell me how to kill my
Console application when the user wants to. Also, if anybody can tell
me how to link code files together so I can have multiple classes
rather than one class holding tons of methods, that would be kickin
lol. Visual Studio 2008 does not like the word include at all such as
(include Test or include Test.cs). It also does not like using Test
or using Test.cs, where Test.cs is the secondary code file. I already
added it to the project, it just gives me bunches of errors. Anyways,
I am rambling now, thanks all ahead of time
Jay
However, I have an issue right now that I believe is due to the fact
that I do not know how to close a Console application in code. You
would think its something like Console.Terminate or Quit or Close or
one of them, but that just isn't it, according to Visual Studio 2008.
As a result, my code jumps to my QuitGame() method, peels through it
nicely, then starts browsing around in a try/catch/finally statement I
have in my code for int parsing. After it gets done, it bombs out the
program. So I was hoping somebody could tell me how to kill my
Console application when the user wants to. Also, if anybody can tell
me how to link code files together so I can have multiple classes
rather than one class holding tons of methods, that would be kickin
lol. Visual Studio 2008 does not like the word include at all such as
(include Test or include Test.cs). It also does not like using Test
or using Test.cs, where Test.cs is the secondary code file. I already
added it to the project, it just gives me bunches of errors. Anyways,
I am rambling now, thanks all ahead of time
Jay