1. Introduction 1.1 About Reflection and Attributes 2. Assembly Operations 2.1 Getting the Assembly Object 2.1.1 Runtime Getting Assemblies 2.1.2[......] 继续阅读

2019年12月29日 2条评论 104点热度 0人点赞 痴者工良 阅读全文

1. 说明 1.1 关于反射、特性 2. 程序集操作 2.1 获取 程序集对象(Assembly) 2.1.1 运行时获取程序集 2.1.2 使用方法 2.1.3 从文件加载程序集 2.1.4 使用方法 2.2 Assembly 使用 2.2.1 获取程序集完全限定名称 2.2.2 Assembl[......] 继续阅读

2019年12月29日 2条评论 3799点热度 0人点赞 痴者工良 阅读全文

Through reflection, after obtaining the property names and attributes, the next step is to retrieve the values of the properties. static void[......]继续阅读

2019年12月29日 0条评论 3862点热度 2人点赞 痴者工良 阅读全文

通过反射获取到属性名称以及特性后,要获取属性的值。 static void Main(string[] args) { Test test = new Test() { A = 13510[......]继续阅读

2019年12月29日 0条评论 3838点热度 2人点赞 痴者工良 阅读全文

Study Plan for the Week of 23-19: Finish and master Chapter 19 "Reflection and Metadata" of "C# 7.0 Core Technology Guide". Comp[......] 继续阅读

2019年12月22日 3条评论 104点热度 0人点赞 痴者工良 阅读全文

23-19日,周学习计划: 1,看完、学会 《C# 7.0 核心技术指南》 第19章《反射和元数据》。 2,看完 《C# 7.0 本质论》 相应 反射部分得内容。 3,早晚上坐车,一周内看完 《PostgreSQL 9.6 从零开始学》,带上平板,随时查资料。 4,周六日实践 Postgre[......] 继续阅读

2019年12月22日 3条评论 2952点热度 0人点赞 痴者工良 阅读全文

There's nothing much to say; just executing the command below can solve the issue: apt-get -u dist-upgrade 统一更新到发布的版本 [......] 继续阅读

2019年12月20日 1条评论 4761点热度 2人点赞 痴者工良 阅读全文

没啥好说,执行下面的命令就可以解决了 apt-get -u dist-upgrade 统一更新到发布的版本 [......] 继续阅读

2019年12月20日 1条评论 4747点热度 2人点赞 痴者工良 阅读全文

Recently, while installing software, I accidentally removed Ubuntu's apt, apt-get, etc., and at that moment, I felt like I was in deep trouble. It pro[......] 继续阅读

2019年12月20日 2条评论 6638点热度 3人点赞 痴者工良 阅读全文

最近在安装软件时,不小心把 Ubuntu 的 apt、apt-get等移除了,当时心情是日了狗了。 当时提示输入一些文字确认。。。我以为是确认安装,直到看到一堆的 Removing ... (Reading database ... 149416 files and directories curr[......]继续阅读

2019年12月20日 2条评论 5164点热度 3人点赞 痴者工良 阅读全文

百度了很久,网上全是抄抄抄,特别是 CSDN,要么卡,要么404,根本用不了。 将下面的源替换到 /etc/apt/source/list 即可 deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic universe deb http://mir[......]继续阅读

2019年12月20日 1条评论 122点热度 24人点赞 痴者工良 阅读全文

百度了很久,网上全是抄抄抄,特别是 CSDN ,要么卡,要么404,根本用不了。 将下面的源替换到 /etc/apt/source/list 即可 deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic universe deb http://mi[......]继续阅读

2019年12月20日 1条评论 15260点热度 24人点赞 痴者工良 阅读全文

Method of use: Simply create a new query and paste the code inside. You can simplify the query as needed. SELECT TOP 1000 ST.text AS 'Executed[......]继续阅读

2019年12月18日 0条评论 130点热度 1人点赞 痴者工良 阅读全文

使用方法: 直接新建查询,将代码粘贴到里面即可。 可以根据需求简化查询 SELECT TOP 1000 ST.text AS '执行的SQL语句', QS.execution_count AS '执行次数', QS.[......]继续阅读

2019年12月18日 0条评论 3135点热度 1人点赞 痴者工良 阅读全文

C# Core Technical Guide [......] 继续阅读

2019年12月16日 1条评论 3352点热度 0人点赞 痴者工良 阅读全文

来自C#核心技术指南 14.2.6 [......] 继续阅读

2019年12月16日 1条评论 3334点热度 0人点赞 痴者工良 阅读全文

Exploring char and string in C# [TOC] 1. System.Char Character char is an alias for System.Char. System.Char occupies two bytes, which is 16 binary bi[......] 继续阅读

2019年12月15日 0条评论 112点热度 0人点赞 痴者工良 阅读全文

探究 C# 中的 char 、 string(一) [TOC] 1. System.Char 字符 char 是 System.Char 的别名。 System.Char 占两个字节,16个二进制位。 System.Char 用来表示、存储一个 Unicode 字符。 System.Char 的表示[......] 继续阅读

2019年12月15日 0条评论 2685点热度 0人点赞 痴者工良 阅读全文

.NET Core Method for Obtaining Database Context Instance and Configuring Connection Strings [TOC] Assuming the database has two tables: User and Blogs[......] 继续阅读

2019年12月15日 1条评论 164点热度 4人点赞 痴者工良 阅读全文

.NET Core 获取数据库上下文实例的方法和配置连接字符串 [TOC] 假设数据库就两个表:User、Blogs, 模型类如下 public class User { public int Id { get; set; } public strin[......]继续阅读

2019年12月15日 1条评论 4173点热度 4人点赞 痴者工良 阅读全文
1234512