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