Saturday, 8 June 2013

Nullable Types in c#

int? Stock=null;
int Units = Stock ?? 0;

No comments:

Post a Comment