二十一、提交java代码前应该检查是否有没用的语句,如:System.out.println(); jsp页面上面是否有alert调试信息 不规范示例:暂无
规范实例:暂无 解析:因为如果保留了有可能会影响到程序正常运行的结果,如: for(int i=0;i<10;i++){ Sy...
分类:
编程语言 时间:
2014-05-23 09:44:57
阅读次数:
233
MEF(Managed Extensibility
Framework),所在命名空间是System.ComponentModel.Composition.dll。简单来说,MEF是将符合约定(一般是实现接口)的组件的Parts(类、方法和属性可看作是Part)标记为Export特性,再把这些组件放...
分类:
其他好文 时间:
2014-05-23 09:34:27
阅读次数:
386
using System;using System.Collections.Generic;using
System.Linq;using System.Text;using System.Management;using
System.Threading.Tasks;namespace TaskT...
分类:
编程语言 时间:
2014-05-23 08:40:04
阅读次数:
413
strace是个功能强大的Linux调试分析诊断工具,可用于跟踪程序执行时进程系统调用(system
call)和所接收的信号,尤其是针对源码不可读或源码无法再编译的程序。
在Linux系统中,用户程序运行在一个沙箱(sandbox)里,用户进程不能直接访问计算机硬件设备。当进程需要访问硬件设...
分类:
系统相关 时间:
2014-05-22 06:07:36
阅读次数:
479
收集自网络,方便自己,方便他人 1 #region 隐藏系统滚动条 2 protected
override void WndProc(ref System.Windows.Forms.Message m) 3 { 4
ShowScrollBar(this.Han...
SELECT A.name , B.definitionFROM SYS.objects A
INNER JOIN sys.sql_modules B ON A.object_id = B.object_id ...
分类:
数据库 时间:
2014-05-22 05:39:16
阅读次数:
284
有图真相:ASP.NET代码: C#代码: 1 using System; 2 using
System.Collections.Generic; 3 using System.Linq; 4 using Syste...
分类:
Web程序 时间:
2014-05-22 05:35:59
阅读次数:
338
using System;using
System.Collections.Generic;using System.Linq;using System.Text;using
System.Windows.Forms;using System.IO;namespace WisdomCity.Enti...
分类:
其他好文 时间:
2014-05-22 05:08:36
阅读次数:
271
一:根据标点符号分行,上图,代码很简单二:代码using System;using
System.Collections.Generic;using System.ComponentModel;using System.Data;using
System.Drawing;using System.L...
String在java中算是一个比较特殊的类,既能作为基本数据类型使用(Stringstr="123"),也能作为对象使用(Stringstr=newString("123"))。我们先看几组简单的测试。第一组:Stringstr1=newString("123");
Stringstr2=newString("123");
System.out.println(str1==str2);//false
S..
分类:
其他好文 时间:
2014-05-21 02:38:05
阅读次数:
277