摘要: 1. 启动pgAdmin4 2. 选择Configure... 3. 将浏览器的地址填入Browser Command, 最后点击OK,重启pgAdmin4 4. 重启之后将默认浏览器更改为Chrome浏览器 阅读全文
posted @ 2020-06-20 11:08 LuckyZLi 阅读(3107) 评论(0) 推荐(0) 编辑
摘要: 找到夜神模拟器的安装位置,我的安装目录是‪D:\Program Files (x86)\Nox\bin, 通过CMD命令进入此路径,执行如下命令nox_adb.exe connect 127.0.0.1:62001 点击vs code,打开Flutter项目,选择模拟器, 效果如下 阅读全文
posted @ 2020-05-30 14:42 LuckyZLi 阅读(976) 评论(0) 推荐(0) 编辑
摘要: yield关键字用于遍历循环中,yield return用于返回IEnumerable, yield break用于终止循环遍历 using System; using System.Collections.Generic; using System.Linq; using System.Text; 阅读全文
posted @ 2020-05-27 15:35 LuckyZLi 阅读(295) 评论(0) 推荐(0) 编辑
摘要: 1. Markdown Preview Enhanced Markdown Preview Enhanced是一个很好用的完善预览功能的插件,可以更加形象的展示所编写的pdf格式的文档样式 2. Maridown pdf Maridown pdf 将.md文件转换成其他格式 阅读全文
posted @ 2020-05-27 14:25 LuckyZLi 阅读(345) 评论(0) 推荐(0) 编辑
摘要: IEnumberable和IQueryable这两个接口经常给在Linq和Lambda中使用,具体使用场景如下所示: | 项目 | IEnumerable | IQueryable | | | : | : | | 命名空间|System.Collections Namespace|System.Li 阅读全文
posted @ 2020-05-27 14:10 LuckyZLi 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 1. DataTable可以也可以使用Linq进行条件的赛选 注意:当查询结果或者查询数据源无数据则抛异常:数据源中没有 DataRow。 using System; using System.Collections.Generic; using System.Linq; using System. 阅读全文
posted @ 2020-05-14 16:20 LuckyZLi 阅读(1114) 评论(0) 推荐(0) 编辑
摘要: 泛型委托:表示定义一组条件并确定指定对象是否符合这些条件的方法。此委托由 Array 和 List 类的几种方法使用,用于在集合中搜索元素。 using System; using System.Collections.Generic; using System.Linq; using System 阅读全文
posted @ 2020-05-14 15:06 LuckyZLi 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 1. 无参有返回值 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication2 { class Program { static 阅读全文
posted @ 2020-05-14 14:13 LuckyZLi 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 1. 无参无返回值 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication2 { class Program { static 阅读全文
posted @ 2020-05-14 13:39 LuckyZLi 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 1. 显式调用 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication2 { //定义委托 public delegate i 阅读全文
posted @ 2020-05-14 11:40 LuckyZLi 阅读(172) 评论(0) 推荐(0) 编辑