c sharp tenery operator with callin gmethods

Code Example - c sharp tenery operator with callin gmethods

                
                        int a = 5;
int b = 10;
(a == b ? (Action)doThis : doThat)();