c# inline if with function code example Example: c# inline if (condition ? [true value] : [false value]) int x = a ? b : c;