0 votes
in C Sharp by (13.0k points)
What is the difference between “throw ex” and “throw” methods in C#?

1 Answer

0 votes
by (23.1k points)
“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.

Related questions

+1 vote