• Top Posts

    What is difference between the "throw" and "throw ex" in .NET in C# ?


    • "Throw" statement preserves original error stack whereas "throw ex" have the stack trace from their throw point. It is always advised to use "throw" because it provides more accurate error information.

    No comments

    Post Top Ad

    ad728

    Post Bottom Ad

    ad728