ternary operator in vb.net code example
Example: vb ternary
Dim foo = 3
Dim bar = If(foo < 3, "yes", "no") ' "no"
Dim baz = If(foo < 4, "yes", "no") ' "yes"
Dim foo = 3
Dim bar = If(foo < 3, "yes", "no") ' "no"
Dim baz = If(foo < 4, "yes", "no") ' "yes"