/ Published in: C#
isNumber string extension method for testing strings.
Expand |
Embed | Plain Text
public static class StringExtensions { public static bool isNumber(this String str) { double temp; return double.TryParse(str, out temp); } }
You need to login to post a comment.
