Wednesday, May 16, 2012

String to Number, DateTime and Boolean conversion

.Net value type classes mostly have a built in static method Parse to convert a String to specific data types.

Example:

Integer.Parse

Long.Parse

Decimal.Parse

Boolean.Parse

DateTime.Parse

No comments:

Post a Comment