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 ;
January 7. 2009 03:22
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 2009
Sign in