It keeps slippin my mind, so here an example, making it easy to find:
string test = i<0?"yes":"no";
If i < 0 then it returns string "yes" else "no".
Syntax: Res = Coparison ? returnIfTrue : returnIfFalse ;
November 20. 2008 10:16
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.
This site was created by Jetro Wils and Deraeve Mark powered by BlogEngine
© Copyright 2008
Sign in