06 2020 档案

摘要:图解C#教程 《Illustrated C# 7.0 The C# Language Presented Clearly,Concisely, and Visually Fifth Edition》 Stack Frames 栈帧 其实我至今为止对计算机很多魔幻翻译不理解。这个帧frame,算是一例。我有限的知识理解成 一层两层,包裹起来的,类似花括号区分开来的block区块一样,只是这个... 阅读全文
posted @ 2020-06-28 20:09 司徒无名 阅读(168) 评论(0) 推荐(0)
摘要:图解C#教程 《Illustrated C# 7.0 The C# Language Presented Clearly,Concisely, and Visually Fifth Edition》 Identifiers—标识符,理解为"变量名","类名"等名字。由于名字必须独一无二,所以用identifiers (身份identity) 规则: 首字母:字母和下划线和@-----yes... 阅读全文
posted @ 2020-06-26 20:32 司徒无名 阅读(391) 评论(0) 推荐(0)
摘要:参考书籍 《C# in a nutshell 8.0》 基本数据单元是序列和元素,序列是任何实现了IEnumberable接口的对象,而其中的每一项叫做一个元素。 Names就是一个序列,"Tom","Dick","Harry"就是元素。 Names 表示内存中的本地对象的集合,称之为"本地序列" We call this a local sequence because it represe... 阅读全文
posted @ 2020-06-24 20:57 司徒无名 阅读(159) 评论(0) 推荐(0)
摘要:参考书籍《Illustrated C#7, 5th Edition》 什么是LINQ? LINQ = Language Integrated Query 发音"link" LINQ是.NET框架的扩展。用类似SQL语法查询数据库一样,来查询数据集。SQL查询数据库,database。LINQ查询数据集,data collection 原因是SQL查询规范的表格,也即数据库,而LINQ不一定是规... 阅读全文
posted @ 2020-06-23 20:39 司徒无名 阅读(231) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/lizhenghao126/p/11053666.html 假如两个类型X和Y具有特殊关系,X类型的每个值都能转换成Y类型。我们将I向I的转换称为协变转换。反之我们将I向I的转换称为逆变转换。 简单的举个例子: List str; List obj; 我们知道在C#中所有引用类型都直接或间接地继承自Object类,所有str... 阅读全文
posted @ 2020-06-20 09:09 司徒无名 阅读(308) 评论(0) 推荐(0)
摘要:泛型,字面意思就是泛泛而谈的广泛形状,就是偷懒的典型。不过,程序员和工程师们,甚至科学家们发明东西并不是完备考虑的,都是线性思维,先发明出来工具,然后有漏洞再弥补。泛型就是为了省力气发明的。副作用我不知道,但是以后肯定有的。 K用string填充 ,就是string类型。 接口泛型 namespace fanxinjiekou { class Program ... 阅读全文
posted @ 2020-06-19 16:42 司徒无名 阅读(208) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/dream-game/p/5532506.html using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace tryparse { cla... 阅读全文
posted @ 2020-06-16 17:28 司徒无名 阅读(534) 评论(0) 推荐(0)
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace delegateExample { delegate void MyDel(int value); //定义委托 ... 阅读全文
posted @ 2020-06-14 13:12 司徒无名 阅读(218) 评论(0) 推荐(0)
摘要:Field 其实就是变量,但是英文里面是field,字段,域名。为啥要这么取名是因为面向对象编程,发明类,事儿多,什么防止变量被修改什么的,所以发明了属性property 属性就是用函数来操纵变量,也即这个字段,field。所以独立用字段的类,不怎么好(大概是这个意思)。 然后,类要初始化,初始化变量怎么办?取名Constructor,翻译过来是建构,构造(心理学的构造主义,建构主义心理学 就... 阅读全文
posted @ 2020-06-13 12:41 司徒无名 阅读(1224) 评论(0) 推荐(0)
摘要:Results The result list shows the file and folders matches for the current search. Right click a file or folder to perform an action, such as open, cut, copy, delete, rename or properties. 结果: 结果表将会显示... 阅读全文
posted @ 2020-06-08 12:31 司徒无名 阅读(210) 评论(0) 推荐(0)
摘要:Recent Changes Recent changes is a list of files and folders that have been changed since Everything was started. "最近改变"(最近修改)是当Everything启动后,被修改的文档或者文件夹列表。 Search recent changes 搜索最近修改的 Use rc: or ... 阅读全文
posted @ 2020-06-08 12:13 司徒无名 阅读(446) 评论(0) 推荐(0)
摘要:"Everything" is a filename search engine for Windows. Everything是windows下的文件名搜索引擎 How is Everything different from other search engines Small installation file. Clean and simple user interface. Quick ... 阅读全文
posted @ 2020-06-07 10:44 司徒无名 阅读(2069) 评论(0) 推荐(0)
摘要:pwd:Print working directory 显示当前工作路径。 阅读全文
posted @ 2020-06-01 12:22 司徒无名 阅读(206) 评论(0) 推荐(0)