上一页 1 2 3 4 5 6 7 8 9 10 ··· 14 下一页
该文被密码保护。 阅读全文
posted @ 2019-05-20 17:19 liliyou 阅读(4) 评论(0) 推荐(0) 编辑
摘要: using System.Data; using System.Data.SqlClient; namespace SqlHelperNameSpace { class SqlHelper { private static readonly string ConStr = "Data Source=.;database=mlh;Integrated Secur... 阅读全文
posted @ 2019-05-17 09:45 liliyou 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 重命名表名: 重命名字段名: 阅读全文
posted @ 2019-05-16 20:21 liliyou 阅读(4358) 评论(0) 推荐(1) 编辑
摘要: C#7 可以使用圆括号声明一个元组: 元组的解构: 还可以使用var声明解构的变量 阅读全文
posted @ 2019-05-16 15:37 liliyou 阅读(123) 评论(0) 推荐(0) 编辑
摘要: npm install nrm -g nrm use taobao 阅读全文
posted @ 2019-05-05 14:47 liliyou 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 总结: 接口中不能有字段,可以有属性,需要设置get;set 访问器 阅读全文
posted @ 2019-05-04 21:30 liliyou 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 自动实现的可以用属性初始化器来初始化: 阅读全文
posted @ 2019-05-04 15:51 liliyou 阅读(76) 评论(0) 推荐(0) 编辑
摘要: #define debug using System; using System.Linq; using System.Diagnostics; namespace ConsoleApp1 { class Program { static void Main(string[] args) { say(); ... 阅读全文
posted @ 2019-05-04 11:55 liliyou 阅读(78) 评论(0) 推荐(0) 编辑
摘要: 抽象类就是为了实现继承; 抽象类不能实例化; 抽象类中的抽象方法不能用方法体; 抽象方法不能设置为private; 继承于抽象类的非抽象派生类必须重写实现其基类的所有抽象方法; 阅读全文
posted @ 2019-05-03 22:36 liliyou 阅读(116) 评论(0) 推荐(0) 编辑
摘要: class Person{ constructor(name,age){ //直接写属性 this.name=name; this.age=age; console.log('a'); } showName(){ //直接可以写方法 return this.name } showAge()... 阅读全文
posted @ 2019-05-03 10:38 liliyou 阅读(262) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 14 下一页