HTML5先行者高级交流群

欢迎加入学习讨论
专注前端,专注网页设计制作及网站开发项目 - (低价承接网站开发项目) QQ:370158739加入收藏RSS
-
2013-12-20 14:38:17
My Prototype in C#_.NET教程_编程技术
- //MyPrototypeusing System;using System.Collections;//abstract PageStylePrototype Class 'Prototypeabstract class PageStylePrototype{ //Fields protected string sty
-
2013-12-20 14:38:15
My FactoryMethod in C#_.NET教程_编程技术
- //MyFactoryMethodusing System;using System.Collections;//SinglePage class,which build the at last product,part element//----top classabstract class SinglePage{};//-
-
2013-12-20 14:38:15
c#范型体验1_.NET教程_编程技术
- 写了点代码,初次体验到C#范型的魅力 class Program { static void WriteSometing<T>(T x,T y) { if (typeof(T) == typeof(int))
-
2013-12-20 14:38:14
My Builder in C#_.NET教程_编程技术
- //MyBuilderusing System;using System.Collections;///////////////////////product///////////////////////class HomePage{ //Fields private string pagetype; private stri
-
2013-12-20 14:38:14
My AbstractFactory in C#_.NET教程_编程技术
- //MyAbstractFactoryusing System;///////////////Basic Products//////////////// //AbstractProductsabstract class FontsStyle{ public string stylestring; };abstract cla
-
2013-12-20 14:38:12
C#中TreeView类操作全攻略(三)_.NET教程_编程技术
- treeview|攻略 using System;using System.Drawing;using System.Collections;using System.ComponentModel;using System.Windows.Forms;using com.prm.client.tools;using Syst
-
2013-12-20 14:38:12
C#中TreeView类操作全攻略(二)_.NET教程_编程技术
- treeview|攻略 using System;using System.Drawing;using System.Collections;using System.ComponentModel;using System.Windows.Forms;using System.Data;using com.prm.clien
-
2013-12-20 14:38:11
C#中TreeView类操作全攻略(一)_.NET教程_编程技术
- treeview|攻略 using System;using System.Drawing;using System.Collections;using System.ComponentModel;using System.Windows.Forms;using System.Data;using com.prm.clien
-
2013-12-20 14:38:09
为什么C#没有提供“缺省参数”_.NET教程_编程技术
- 在论坛上经常看到C#里有没有缺省参数的问题,在C# Team的blog里看到Eric Gunnerson的一篇文章Why doesn't C# support default parameters? 看完后想起原来用Reflector反编译看Int
-
2013-12-20 14:38:07
C#对底层数据操作的通用类_.NET教程_编程技术
- 数据 using System;using System.Data;using System.Data.SqlClient;using System.Windows.Forms;namespace DataLibrary{ /// <summary> /// 数据连接设置 /// </summary> publi
-
2013-12-20 14:38:07
关于C#中switch语句的一点注意_.NET教程_编程技术
- 语句 (最先发表在www.kunwsoft.com) 大家肯定对switch语句并不陌生,它能够让程序根据控制表达式的值,从多个动作中作出选择(从逻辑过程看,和多分支语句if-else有些相似)。在C+
-
2013-12-20 14:38:06
vb / C# 中报表套打的轻松实现_.NET教程_编程技术
- 关键字: vb c# 报表 套打微软的crystal report是非常不错的报表工具,今天我想和大家聊聊如果在vb 60 中使用crystal report 提供的环境在vb 中请轻松实现报表的套打功能。以水晶
-
2013-12-20 14:38:06
.NET 线程同步(2)_.NET教程_编程技术
- Monitor类的TryEnter()方法非常类似于Enter()方法,他试图获得对象的独占锁,不过它不会象Enter()方法那样暂停. 如果线程成功进入,则TryEnter()方法返回True. TryEnter()有3种
-
2013-12-20 14:38:04
C#编码标准--编码习惯_.NET教程_编程技术
- 编码|标准 1. 避免将多个类放在一个文件里面。 2. 一个文件应该只有一个命名空间,避免将多个命名空间放在同一个文件里面。3. 一个文件最好不要超过500行的代码(不包括机器产生
-
2013-12-20 14:38:04
.NET线程同步(1)_.NET教程_编程技术
- 在处理.net线程同步问题,有许多办法,这里所将谈到的是特定代码区的同步. 这些特定的代码区是方法中重要的代码段,他们可以改变对象的状态,或者更新另一个资源.Monitor类用于同
-
2013-12-20 14:38:03
C#轻松解决世纪迷题_.NET教程_编程技术
- 解决 下面的问题相信很多人都听过:1 有五栋五种颜色的房子 2 每一位房子的主人国籍都不同 3 这五个人每人只喝一种饮料,只抽一种牌子的香烟,只养一种宠物 4 没有人有相同的宠物,抽相
-
2013-12-20 14:38:03
C#编码标准--命名约定和风格_.NET教程_编程技术
- 编码|标准 命名约定和风格1. 使用Pascal的命名规范命名类型和方法的名字。public class SomeClass{ public SomeMethod(){}}2. 使用camel命名规范命名局部变量和方法的参数。int
-
2013-12-20 14:38:01
C#中一些字符串操作的常用用法_.NET教程_编程技术
- 字符串 //获得汉字的区位码 byte[] array = new byte[2]; array = System.Text.Encoding.Default.GetBytes("啊");int i1 = (short)(array[0] - '/0'); int i2 = (short
-
2013-12-20 14:37:57
C#学习笔记之五(ADO.net)_.NET教程_编程技术
- ado|笔记 ADO.net //Overview Data-->DataReader-->Data Provider--> DataSet Data Provider: Connection, Command, DataAdapter DataSet: DataRelationCollection, DataTable