// looking for method expression? example usage: public static bool IsNotNull(this string input) => !string.IsNullOrEmpty(input);
((a != null) ? (Action)(() => { b = a; }) : () => { /*Do something else*/ })();