2014年1月15日

该文被密码保护。 阅读全文
posted @ 2014-01-15 17:29 Precise 阅读(0) 评论(0) 推荐(0) 编辑

2014年1月14日

该文被密码保护。 阅读全文
posted @ 2014-01-14 03:33 Precise 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2014-01-14 03:26 Precise 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2014-01-14 02:14 Precise 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2014-01-14 02:03 Precise 阅读(0) 评论(0) 推荐(0) 编辑

2014年1月13日

该文被密码保护。 阅读全文
posted @ 2014-01-13 17:54 Precise 阅读(0) 评论(0) 推荐(0) 编辑

2014年1月12日

该文被密码保护。 阅读全文
posted @ 2014-01-12 03:19 Precise 阅读(1) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2014-01-12 03:07 Precise 阅读(0) 评论(0) 推荐(0) 编辑
摘要: [Flags]publicenumClientStates{Ordinary=0,//0000HasDiscount=1,//0001IsSupplier=2,//0010IsBlackListed=4,//0100IsOverdrawn=8//1000}上述定义,实际上是每个不同的枚举成员都指定了某一个Bit的位置信息。它们之间的关系大体上是*2的关系(除了第一个为0外)。而如果你不强制定义这个值编译器生成的枚举类型值为:[Flags]publicenumClientStates{Ordinary=0,//0000HasDiscount=1,//0001IsSupplier=2,//0010 阅读全文
posted @ 2014-01-12 02:01 Precise 阅读(264) 评论(0) 推荐(0) 编辑

2014年1月11日

摘要: using System;using System.Collections.Generic;using System.Linq;using System.Reflection;using System.Text;namespace ConsoleApplication1{ //An enumeration of animals.Start at 1(0=uninitialized); public enum Animal { //Pets Dog=1, Cat, Bird, } //A custom ... 阅读全文
posted @ 2014-01-11 15:37 Precise 阅读(205) 评论(0) 推荐(0) 编辑

导航