Is there a way to use ? : notation in c# without assigning result of the expression, or even with expressions, after ? operator, which do not return any values.
E.g. I want to run something like it
(1=1) ? errorProvider.SetError(control,"Message") : DoNothing();
expression? DoSomething (): DoSomethingElese()
where DoSomething and DoSomethingElse returns types are void.