With Python, I normally check the return value. And, if there's an error, I use sys.exit()
together with error message.
What's equivalent action in C#?
- Q1 : How to print out an error message to stderr stream?
- Q2 : How to call system.exit() function in C#?
- Q3 : Normally, how C# programmers process the errors? Raising and catching exceptions? Or, just get the return value and exit()?
задан prosseek 11 February 2011 в 17:28
поделиться