摘要:
用截取字符串中的数字,代码如下:double d = 0; string str = "hello8023.1314world"; //要截取的字符串 Match m = Regex.Match(str, "\\d+(\\.\\d+){0,1}"); ... 阅读全文
posted @ 2015-06-14 19:01
秋刀鱼No1
阅读(23360)
评论(1)
推荐(2)
摘要:
自定义扩展方法: public static class EnumerableExtensions { public static bool IsEmpty(this IEnumerable source) { return !source.A... 阅读全文
posted @ 2015-06-14 16:36
秋刀鱼No1
阅读(171)
评论(0)
推荐(0)

浙公网安备 33010602011771号