摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;/*泛型栈*/namespace ExGeneric{ class MyStack { const int MaxStack ... 阅读全文
posted @ 2015-09-10 17:38
Alfred.Xu
阅读(598)
评论(0)
推荐(0)
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;/** 1、接口表示一组函数成员而不实现成员的引用类型* 2、只有类和结构可以实现接口,必须实现接口中的全部成员* 3、接口可以继承接口... 阅读全文
posted @ 2015-09-10 17:17
Alfred.Xu
阅读(212)
评论(0)
推荐(0)
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ExLambda{ class Program { delegate double MyDel(int p... 阅读全文
posted @ 2015-09-10 14:42
Alfred.Xu
阅读(137)
评论(0)
推荐(0)
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ExDelegate{ delegate void PrintFunction(); delegate void... 阅读全文
posted @ 2015-09-10 14:23
Alfred.Xu
阅读(89)
评论(0)
推荐(0)
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;/** 1、枚举是值类型* 2、成员只有一种类型:命名的整数值常量* 3、成员声明列表以逗号隔开* 4、后一个成员比前一个增1* 5、不... 阅读全文
posted @ 2015-09-10 11:39
Alfred.Xu
阅读(178)
评论(0)
推荐(0)
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;/** 结构是自定义的数据类型,与类类似,包含数据成员和函数成员* 1、结构是值类型* 2、结构是隐式密封的不可以派生* 3、结构中字段... 阅读全文
posted @ 2015-09-10 11:21
Alfred.Xu
阅读(124)
评论(0)
推荐(0)

浙公网安备 33010602011771号