验证日期,时间,日期时间 时间相关的正则表达式 测试 /// <summary> /// 使用正则表达式判断是否为日期 /// </summary> /// <param name="str" type=string></param> /// <returns name="isDateTime" t ...
分类:
其他好文 时间:
2017-04-13 14:47:26
阅读次数:
174
System.Web.Caching简单封装类: 1 using System; 2 using System.Collections.Generic; 3 using System.Web.Caching; 4 using System.Web; 5 using System.Collection ...
分类:
Web程序 时间:
2017-04-13 10:20:55
阅读次数:
153
zip() is a built-in function. This function returns a list of tuples, where the i-th tuple contains the i-th element from each of the argument sequenc ...
分类:
编程语言 时间:
2017-04-11 16:02:06
阅读次数:
215
/* 根据汉字获取全拼 1.生成所有读音临时表 2.根据Chinese_PRC_CS_AS_KS_WS 排序获取读音 */ CREATE function f_GetPying(@str varchar(100)) returns varchar(8000) as begin declare @re... ...
分类:
数据库 时间:
2017-04-10 15:17:05
阅读次数:
639
先列一下相关的语法: 1.out-variables(Out变量) 2.Tuples(元组) 3.Pattern Matching(匹配模式) 4.ref locals and returns (局部变量和引用返回) 5.Local Functions (局部函数) 6.More expressio ...
背水一战 Windows 10 之 C# 7.0 新特性: 介绍 C# 7.0 的新特性 ...
/// <summary> /// 防止重复提交:false 重复提交 /// </summary> /// <returns></returns> public bool IsTimeStamp() { DateTime timeStamp; if (Session["TimeStamp"] != ...
分类:
其他好文 时间:
2017-04-10 10:45:08
阅读次数:
192
阅读目录 out变量 元组(Tuples) 模式匹配(Pattern matching) 本地引用和返回(Ref locals and returns) 本地函数(Local functions) 表达式可用于更多成员(More expression-bodied members) 表达式抛出异常( ...
分类:
Windows程序 时间:
2017-04-10 10:42:04
阅读次数:
2516
28. Implement strStr() Implement strStr(). Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack. 思 ...
分类:
其他好文 时间:
2017-04-09 22:03:02
阅读次数:
140
题目:Word Search 判断某一单词是否在一个字母数组中用一条折线连起来。 word = "ABCCED", -> returns true, 坐标序列如下:00,01,02,12,22,21 思路: 递归查找单词当前字母对应数组的坐标的前后左右,看能都匹配。 ...
分类:
其他好文 时间:
2017-04-09 18:37:27
阅读次数:
165