Maha

Maha

  • NA
  • 0
  • 328.2k

Throw

Aug 1 2013 4:19 PM
http://www.c-sharpcorner.com/UploadFile/akkiraju/difference-between-throw-exception-and-throw-clause/

Program is given in the above website. In the 1st example the output is not coming like as shown I don't know why it may be due to the different version of VS express. Not only that how trace is in the output without StackTrace is in code.

System.Exception was unhandled
Message=Original Exception occurred in ExceptionMethod
Source=TestingThrowExceptions
StackTrace:
at TestingThrowExceptions.Program.Main(String[] args) in C:\TestProjects\TestingThrowExceptions\TestingThrowExceptions\Program.cs:line 26


Answers (7)