Login
Remember
Register
Ask a Question
What is the difference between “throw ex” and “throw” methods in C#?
0
votes
asked
Oct 18, 2019
in
C Sharp
by
Robin
What is the difference between “throw ex” and “throw” methods in C#?
throw-ex
throw-c#
c#-throw
throw-in-c-sharp
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Oct 18, 2019
by
rajeshsharma
“throw ex” will replace the stack trace of the exception with stack trace info of re throw point.
“throw” will preserve the original stack trace info.
...