摘要:        
来源:http://www.cnblogs.com/akwwl/p/3232679.html 委托是一个类,它定义了方法的类型,使得可以将方法当作另一个方法的参数来进行传递。事件是一种特殊的委托。 1.委托的声明 (1). delegate delegate我们常用到的一种声明 Delegate至少    阅读全文
posted @ 2016-12-05 13:53
hao_1234_1234
阅读(202)
评论(0)
推荐(0)
        
            
        
        
摘要:        
1、接口中的方法并不实现具体功能,继承于该接口的类必须实现具体功能。 核心思想:对修改封闭,对扩展开放。 2、Sort()方法: 默认:Sort(内容) 英文:按照首字母顺序排序,首字母相同则看第二个字母; 数字:从小到大排序; 自定义 Sort(内容,排序规则) 内容按照自定义的规则排序。 hos    阅读全文
posted @ 2016-12-05 13:24
hao_1234_1234
阅读(1558)
评论(0)
推荐(0)
        
            
        
        
摘要:        
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Collections; namespace Test1 { class Program { static...    阅读全文
posted @ 2016-12-05 12:23
hao_1234_1234
阅读(3551)
评论(0)
推荐(1)
        
 
                    
                
 浙公网安备 33010602011771号
浙公网安备 33010602011771号