What is a simple Noop statement in C#, that doesn't require implementing a method? (Inline/Lambda methods are OK, though.)
My current use case: I want to occupy the catch-block of a try-catch, so I can step into it while debugging and inspect the exception.
I'm aware I should probably be handling/logging the exception anyway, but that's not the point of this exercise.
Why over-engineer this?
works just fine :)
I quite like this, just because it will confuse whoever comes across it:
Reliable solution
As simple as this!
Otherwise
breakpoints
can be very usefull;