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