码迷,mamicode.com
首页 >  
搜索关键字:static members    ( 45825个结果
DataTable扩展方法ToList<T>()、ToJSON()、ToArrayList()
/// /// 扩展方法类 /// public static class CommonExtension { /// /// 数据类型对应转换方法字典 /// static Dictionary> dic_c...
分类:Web程序   时间:2014-05-27 02:50:17    阅读次数:399
命名冲突与static修饰符
static 可以减少命名冲突如:test1.c:int atest2.c : int agcc test1.c test2.c报重复定义错误但是在其中一个加static,可解决此问题同样适用于函数。
分类:其他好文   时间:2014-05-27 01:34:02    阅读次数:176
eclipse 代码区变灰,无法显示代码
法一:点击window->new window,看看新的窗口是否能够显示代码区,可以就把旧的那个窗口关闭,成功法二:http://juhbgf.blog.163.com/blog/static/598317682013455118751/
分类:系统相关   时间:2014-05-27 01:30:57    阅读次数:286
Excel 导出的方法 之二
// /// 导出到Excel lichenghu /// /// public static void ToExcel(DataTable dt) { string sb = ""; ...
分类:其他好文   时间:2014-05-27 00:44:33    阅读次数:251
经纬度计算是否在圆形内,是否在矩形内,是否在多边形内方法
class 点面关系{static void Main(string[] args){//Vector2D point1 = new Vector2D(39.909209536859834, 116.3225715637207);//inVector2D point1 = new Vector2D(...
分类:其他好文   时间:2014-05-24 06:26:21    阅读次数:379
解密2.0版资源库的文件算法
import java.io.File;import java.io.FileInputStream;import java.io.FileOutputStream; public class CopyFile { public static void DecodeRes2ByFile...
分类:其他好文   时间:2014-05-24 03:36:59    阅读次数:250
吸血鬼数字
package Pro0519;import java.util.Arrays;public class pro0519 { public static void main(String[] args) { String[] ar_str1, ar_str2; ...
分类:其他好文   时间:2014-05-24 02:22:06    阅读次数:202
c#调用cmd的ping命令
private static string CmdPing(string strIp){Process p = new Process(); p.StartInfo.FileName = "cmd.exe";//设定程序名p.StartInfo.UseShellExecute = false; //...
分类:其他好文   时间:2014-05-24 00:42:36    阅读次数:481
C#泛型列表List<T>基本用法总结
http://space.itpub.net/14466241/viewspace-624132示例代码如下:namespace SampleListT{ class Program { static void Main(string[] args) { //using System...
分类:其他好文   时间:2014-05-19 13:28:56    阅读次数:233
java代理Proxy
首先是静态代理: 1 public class Test1 { 2 3 public static void main(String[] args) { 4 IA a = new APoxy(new A()); 5 a.doJob(); 6 } 7 ...
分类:编程语言   时间:2014-05-19 12:01:39    阅读次数:302
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!