Tuesday, 29 March 2016

difference between “throw ex” and “throw” methods in C#?

  • “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.

No comments:

Post a Comment