摘要: SET STATISTICS TIME ONSQL语句SET STATISTICS TIME OFF 阅读全文
posted @ 2015-03-23 14:58 kevin.dai 阅读(144) 评论(0) 推荐(0) 编辑
摘要: namespace ChangeStringLib //公共类{ public class Class1 { //public void ChangeString(string[] str) //{ // for (int i = 0; i... 阅读全文
posted @ 2015-01-12 23:49 kevin.dai 阅读(166) 评论(0) 推荐(0) 编辑
摘要: namespace ClsLib //公共层{ public delegate void WriteTimeToDevDelegate();//定义类}namespace ClsLib //公共层{ public class Class1 { public ClsLib... 阅读全文
posted @ 2015-01-12 23:13 kevin.dai 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 进入BIN目录下mysqladmin -u root -p flush-tables 阅读全文
posted @ 2015-01-04 11:06 kevin.dai 阅读(1868) 评论(0) 推荐(0) 编辑
摘要: static void Main(string[] args) { int[] test = { 1,33,33,22,44}; Console.WriteLine(Add(test));//也可以这样传 Console.WriteLine(Add(1,2,4,5,6,7)); } //当一个方法中 阅读全文
posted @ 2014-12-28 22:27 kevin.dai 阅读(566) 评论(0) 推荐(0) 编辑
摘要: static void Main(string[] args) { int test = 100; int s;//申明变明来接收方法返回的值 Console.WriteLine(M1(test,out s));... 阅读全文
posted @ 2014-12-28 22:07 kevin.dai 阅读(312) 评论(0) 推荐(0) 编辑
摘要: class Program { static void Main(string[] args) { int test = 100; M1(ref test); //参数不加REF时,会直接输出100 加了REF会输... 阅读全文
posted @ 2014-12-28 21:55 kevin.dai 阅读(188) 评论(0) 推荐(0) 编辑
摘要: class Program { static void Main(string[] args) { DataBase dt = new Data(); dt.Add(); } } ... 阅读全文
posted @ 2014-12-28 16:37 kevin.dai 阅读(186) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Reflection;using System.Text;namespace ConsoleApplication1{ public del... 阅读全文
posted @ 2014-12-27 09:59 kevin.dai 阅读(375) 评论(0) 推荐(0) 编辑
摘要: 1、rpm -q vnc-server //检查系统是否安装VNC2、yum install vnc vnc-server //如果没有通过yum安装3、yum install tightvnc-server 服务端需要安装这个 阅读全文
posted @ 2014-12-02 10:22 kevin.dai 阅读(292) 评论(0) 推荐(0) 编辑