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[......] 继续阅读
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[......] 继续阅读
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[......] 继续阅读
Through reflection, after obtaining the property names and attributes, the next step is to retrieve the values of the properties. static void[......]继续阅读
通过反射获取到属性名称以及特性后,要获取属性的值。 static void Main(string[] args) { Test test = new Test() { A = 13510[......]继续阅读
Study Plan for the Week of 23-19: Finish and master Chapter 19 "Reflection and Metadata" of "C# 7.0 Core Technology Guide". Comp[......] 继续阅读
23-19日,周学习计划: 1,看完、学会 《C# 7.0 核心技术指南》 第19章《反射和元数据》。 2,看完 《C# 7.0 本质论》 相应 反射部分得内容。 3,早晚上坐车,一周内看完 《PostgreSQL 9.6 从零开始学》,带上平板,随时查资料。 4,周六日实践 Postgre[......] 继续阅读
There's nothing much to say; just executing the command below can solve the issue: apt-get -u dist-upgrade 统一更新到发布的版本 [......] 继续阅读
没啥好说,执行下面的命令就可以解决了 apt-get -u dist-upgrade 统一更新到发布的版本 [......] 继续阅读
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[......] 继续阅读
最近在安装软件时,不小心把 Ubuntu 的 apt、apt-get等移除了,当时心情是日了狗了。 当时提示输入一些文字确认。。。我以为是确认安装,直到看到一堆的 Removing ... (Reading database ... 149416 files and directories curr[......]继续阅读
百度了很久,网上全是抄抄抄,特别是 CSDN,要么卡,要么404,根本用不了。 将下面的源替换到 /etc/apt/source/list 即可 deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic universe deb http://mir[......]继续阅读
百度了很久,网上全是抄抄抄,特别是 CSDN ,要么卡,要么404,根本用不了。 将下面的源替换到 /etc/apt/source/list 即可 deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic universe deb http://mi[......]继续阅读
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[......]继续阅读
使用方法: 直接新建查询,将代码粘贴到里面即可。 可以根据需求简化查询 SELECT TOP 1000 ST.text AS '执行的SQL语句', QS.execution_count AS '执行次数', QS.[......]继续阅读
C# Core Technical Guide [......] 继续阅读
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[......] 继续阅读
探究 C# 中的 char 、 string(一) [TOC] 1. System.Char 字符 char 是 System.Char 的别名。 System.Char 占两个字节,16个二进制位。 System.Char 用来表示、存储一个 Unicode 字符。 System.Char 的表示[......] 继续阅读
.NET Core Method for Obtaining Database Context Instance and Configuring Connection Strings [TOC] Assuming the database has two tables: User and Blogs[......] 继续阅读
.NET Core 获取数据库上下文实例的方法和配置连接字符串 [TOC] 假设数据库就两个表:User、Blogs, 模型类如下 public class User { public int Id { get; set; } public strin[......]继续阅读