上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 23 下一页
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _01匿名方法 { class Program 阅读全文
posted @ 2019-02-06 15:31 豆皮没有豆 阅读(100) 评论(0) 推荐(0)
摘要: 委托 委托是方法的抽象,它存储的就是一系列具有相同签名和返回类型的方法的地址。调用委托的时候,委托包含的所有方法将被执行。 委托是类型,就好像类是类型一样。与类一样,委托类型必须在被用来创建变量以及类型对象之前声明。 委托的声明原型是 delegate <函数返回类型> <委托名> (<函数参数>) 阅读全文
posted @ 2019-02-06 15:26 豆皮没有豆 阅读(101) 评论(0) 推荐(0)
摘要: 接口定义了属性、方法和事件,这些都是接口的成员。接口只包含了成员的声明。成员的定义是派生类的责任。接口提供了派生类应遵循的标准结构。 接口使得实现接口的类或结构在形式上保持一致。 抽象类在某种程度上与接口类似,但是,它们大多只是用在当只有少数方法由基类声明由派生类实现时。 定义接口:(接口类) 接口 阅读全文
posted @ 2019-02-06 12:55 豆皮没有豆 阅读(101) 评论(0) 推荐(0)
摘要: 设计页面: 源码: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; usi 阅读全文
posted @ 2019-02-06 12:34 豆皮没有豆 阅读(331) 评论(0) 推荐(0)
摘要: 进程 using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; names 阅读全文
posted @ 2019-02-06 12:07 豆皮没有豆 阅读(95) 评论(0) 推荐(0)
摘要: MD5具有很好的安全性(因为它具有不可逆的特征,加过密的密文经过解密后和加密前的东东相同的可能性极小) 命名空间: using System.Security.Cryptography; using System.Text; 案列: using System; using System.Collec 阅读全文
posted @ 2019-02-02 10:56 豆皮没有豆 阅读(191) 评论(0) 推荐(0)
摘要: 窗口设计: 代码: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; usi 阅读全文
posted @ 2019-01-30 18:48 豆皮没有豆 阅读(272) 评论(0) 推荐(0)
摘要: 1.绘制基本图形 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; usin 阅读全文
posted @ 2019-01-30 18:36 豆皮没有豆 阅读(157) 评论(0) 推荐(0)
摘要: 多态(函数) 重载 同一个类中,方法名相同,参数列表不同 基于继承而言 重写 override 虚拟 virtual 所有的函数默认不是虚拟的,必须进行显示声明 对字段不能修饰,对属性可以修饰 1.只能修饰函数或属性成员 2.虚拟类也就是正常类,所以不牵扯 3.虚拟成员的类也不能是密封的 密封(se 阅读全文
posted @ 2019-01-30 18:20 豆皮没有豆 阅读(75) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System. 阅读全文
posted @ 2019-01-30 18:16 豆皮没有豆 阅读(635) 评论(0) 推荐(0)
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 23 下一页