码迷,mamicode.com
首页 >  
搜索关键字:system    ( 49231个结果
An interesting piece of code
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApplication1{ class...
分类:其他好文   时间:2015-03-30 20:43:58    阅读次数:119
java中23种设计模式之7-适配器模式(adapter pattern)
class Barrel{ public void getOilFromBarrel() { System.out.println("get oil from Barrel ok"); }}class Funnel implements Bottle{ private Barrel aBarrel....
分类:编程语言   时间:2015-03-30 20:41:15    阅读次数:164
**Git分支管理策略
http://www.ruanyifeng.com/blog/2012/07/git.html如果你严肃对待编程,就必定会使用"版本管理系统"(Version Control System)。眼下最流行的"版本管理系统",非Git莫属。相比同类软件,Git有很多优点。其中很显著的一点,就是版本的分支...
分类:其他好文   时间:2015-03-30 20:30:55    阅读次数:102
C#中禁止程序多开
原文: C#中禁止程序多开 方法一、使用Mutex bool createdNew; //返回是否赋予了使用线程的互斥体初始所属权 System.Threading.Mutex instance = new System.Threading.Mutex(true, "MutexName", out ...
分类:Windows程序   时间:2015-03-30 20:28:34    阅读次数:203
Java-No.01 Java Linux下获取服务器ip地址
1、在window下获取本机ip地址 InetAddress?inet?=?InetAddress.getLocalHost();?? System.out.println("本机的ip="?+?inet.getHostAddress()); 该方法在linux下获取到的ip为127.0.0.1,原因是你linux服务器...
分类:编程语言   时间:2015-03-30 19:17:05    阅读次数:192
Timeout expired. The timeout period elapsed prior to completion of the operation or the server...
问题: 最近程序总会抛出如下异常: An exception of type'System.Data.SqlClient.SqlException' occurred and was caught. ---------------------------------------------------------------------------------- Type :Syste...
分类:其他好文   时间:2015-03-30 18:51:50    阅读次数:141
OracleHelper与SqlServerHelper
1、OracleHelperusing System;using System.Data;using System.Configuration;using System.Linq;using System.Web;using System.Web.Security;using System.Web....
分类:数据库   时间:2015-03-30 18:26:06    阅读次数:226
C#里有个东东叫继承
学C#的时候,学到很多没在别的语言里见过的继承手段。比如用Base方法调用基类构造函数。这个好神奇,只要在子类构造函数后面加个base()就能调用基类的不同构造函数。话不多说,贴代码!using System;using System.Collections.Generic;using System...
分类:Windows程序   时间:2015-03-30 18:25:48    阅读次数:165
C#笔记第三节课
首先我对上节课老师说的这几个关键字virtual override new 进行了一下测试,用例就是老师上课讲的那个,自己在编译器上又实现了一遍代码如下using System;using System.Collections.Generic;using System.Linq;using Syst...
分类:Windows程序   时间:2015-03-30 18:24:55    阅读次数:183
怎样修复“Windows/System32/Config/System中文件丢失或损坏”故障
怎样修复“Windows/System32/Config/System中文件丢失或损坏”故障英文原文引自 http://xphelpandsupport.mvps.org/how_do_i_repair_a_missing_or_cor1.htm此类错误通常说明计算机由于注冊表的原因不能启动,下列操...
分类:Windows程序   时间:2015-03-30 18:19:33    阅读次数:201
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!