Получи случайную криптовалюту за регистрацию!

​​ State the difference between the “throw” and “throw ex” in | C# 1001 notes

​​ State the difference between the “throw” and “throw ex” in .NET

The difference between “throw” and “throw ex” is that “throw” is used for preserving original error stack whereas “throw ex” has a throw point through which it can trace the stack. For more accurate, error-free information, the throw is advisable to use.