Categories

Oct 18, 2019 in C Sharp (C#)
Q: What is the difference between “throw ex” and “throw” methods in C#?

1 Answer

Oct 18, 2019
“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.
Click here to read more about C Sharp
Click here to read more about Insurance

Related questions

Madanswer
May 6 in C Sharp (C#)
Oct 18, 2019 in C Sharp (C#)
Oct 12 in JAVA
...