码迷,mamicode.com
首页 >  
搜索关键字:generic    ( 7184个结果
事件简单例子
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Runtime.InteropServices; 6 7 namespace .....
分类:其他好文   时间:2014-06-02 18:26:00    阅读次数:185
Net线程足迹 传递参数至线程
方法一:应用ParameterizedThreadStart这个委托来传递输入参数,这种方法适用于传递单个参数的情况。[c-sharp] view plaincopyusingSystem;usingSystem.Collections.Generic;usingSystem.ComponentMo...
分类:编程语言   时间:2014-06-02 17:30:45    阅读次数:331
实例365(1)---------格式化为货币
一:截图二:代码using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using Syste...
分类:其他好文   时间:2014-06-02 13:35:03    阅读次数:256
实例365(3)---------DateDiff 函数,用生日获得年龄
一:截图二:代码using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using Syste...
分类:其他好文   时间:2014-06-02 10:11:09    阅读次数:314
实例365(4)---------使用ChineseLunisolarCalendar 对象由年份获得生肖名,Datetime.now.tostring获得星期几
一:使用ChineseLunisolarCalendar 对象由年份获得生肖名,截图二:代码using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System...
分类:其他好文   时间:2014-06-02 09:48:09    阅读次数:174
csharp:.net 3.5 using System.Runtime.Serialization.Json read json
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;//http://msdn.mic...
分类:Web程序   时间:2014-06-02 09:33:11    阅读次数:402
实例365(5)---------DateTime.IsLeapYear 方法判断是否是闰年,DaysInMonth判断一个月有几天,Addday取得前一天的日期GetYesterDay
一:DateTime.IsLeapYear 方法判断是否是闰年,截图二:代码using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing...
分类:其他好文   时间:2014-06-02 09:25:59    阅读次数:220
MVC实现多选下拉框
借助Chosen Plugin可以实现多选下拉框。 选择多项: 设置选项数量,比如设置最多允许2个选项: 考虑到多选下拉选中项是string数组,Model应该这样设计: using System.Collections.Generic;using System.Web.Mvc;namespace ...
分类:Web程序   时间:2014-06-02 08:21:31    阅读次数:337
手机号正则表达式
^[1][3-8]+\\d{9}^首字母[1]必须是1,方格可以去掉吧。。[3-8]第二个数字为3-8之间+加表示至少一个[3-8]\\d表示数字{9}表示9个,就是9个数字。using System;using System.Collections.Generic;using System.Run...
分类:移动开发   时间:2014-06-02 02:11:42    阅读次数:394
实例365(2)---------调用系统api修改系统时间
一:截图二:代码using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using Syste...
分类:Windows程序   时间:2014-06-01 23:45:44    阅读次数:518
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!