Monday, 19 December 2011

ternary operator (?) or (:)

ID = Convert.ToInt32(Id) > 0 ? Convert.ToInt32(Id) : 0;

No comments:

Post a Comment