Google apps
Main menu

Post a Comment On: Blogpad

"TryParse"

1 Comment -

1 – 1 of 1
Blogger fc said...

How about this:

int result = 5;
_usersCount = int.TryParse(ConfigurationManager.AppSettings["UsersCount"], out result) ? result : result;

August 21, 2012 at 10:07 AM

You can use some HTML tags, such as <b>, <i>, <a>

This blog does not allow anonymous comments.

You will be asked to sign in after submitting your comment.
Please prove you're not a robot