Task: Demonstrate Proper Exception Rethrowing in C
Task: Demonstrate Proper Exception Rethrowing in C: a task in Terminal-Lego-15k (Harbor dataset). Create a C console application that demonstrates the difference between throw; and throw ex; when rethrowing exceptions, specifically showing how each approach affects the stack trace.
The task
Create a C# console application that demonstrates the difference between `throw;` and `throw ex;` when rethrowing exceptions, specifically showing how each approach affects the stack trace.
Part of PrimeIntellect/Terminal-Lego-15k.