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