in C Sharp by
What is the difference between “throw ex” and “throw” methods in C#?

► Click here to show 1 Answer

0 votes
“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.
Learn More with Madanswer

Related questions

0 votes
asked May 6, 2020 in C Sharp by SakshiSharma