Friday, October 26, 2007

? Operator in C#

simple,

bool r = (somestring == "1" ? true : false);

No comments: