I'm looking for an "elegant" way to supress when calling a method.
I think
try
{ CallToMethodThatMayFail(3); }
catch {}
is way too verbose. Is there some syntactic sugar I can use to say "I don't really care if this method fails"? I want to call the method and continue execution regardless of what happens with the method.
BTW, moving the try inside the method call is not what I'm looking for. Also, ideally, the solution for this would be able to be re-used on any method call. One last thing: it would also be apparent that the call to this method will not care about errors.