1. Overview of Reflection Usage 1.1 What is Reflection 1.2 What can Reflection do 1.3 Type Class 1.4 Categories of Reflection Usage 1.4 Type Some Co[......] 继续阅读

2020年1月5日 5条评论 4274点热度 1人点赞 痴者工良 阅读全文

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条评论 630点热度 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条评论 4264点热度 0人点赞 痴者工良 阅读全文

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

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

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条评论 4734点热度 2人点赞 痴者工良 阅读全文

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

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

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

2019年12月16日 1条评论 3784点热度 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条评论 690点热度 0人点赞 痴者工良 阅读全文

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

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

C# Xamarin Data Binding Basics [TOC] About Data Binding Xamarin One-way and Two-way Binding Xaml Binding C# Code Binding Before diving deeper, here ar[......] 继续阅读

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

目录 关于数据绑定 视图-视图绑定 绑定模式 简单的集合绑定 C# Xamarin 数据绑定入门基础 关于数据绑定 Xamarin 单向、双向绑定 Xaml绑定 C#代码绑定 在此之前,几段 伪代码 帮助像我一样菜的同学入门[......] 继续阅读

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

C# HttpClient Request Authentication and Data Transmission Notes [TOC] I. Authorization Authentication When a client requests a server, authorization[......] 继续阅读

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

目录 一,授权认证 二,请求类型 三,数据传输 C# HttpClient 请求认证、数据传输笔记 一,授权认证 客户端请求服务器时,需要通过授权认证许可,方能获取服务器资源,目前比较常见的认证方式有 Basic 、JWT、Cookie。[......] 继续阅读

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

Expression Tree Practical Exercises: C# Value Types, Reference Types, Generics, Collections, Function Calls [TOC] 1. Defining Variables In C# express[......] 继续阅读

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

表达式树练习实践:C#值类型、引用类型、泛型、集合、调用函数 [TOC] 一,定义变量 C# 表达式树中,定义一个变量,使用 ParameterExpression。 创建变量结点的方法有两种, Expression.Parameter() Expression.Variable() // 另外,[......]继续阅读

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

Expression Tree Practice: C# Loops [TOC] C# provides several types of loops. Loop Type Description while Loop Repeats a statement or group of s[......] 继续阅读

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

表达式树练习实践:C# 循环 [TOC] C# 提供了以下几种循环类型。 循环类型 描述 while 循环 当给定条件为真时,重复语句或语句组。它会在执行循环主体之前测试条件。 for/foreach 循环 多次执行一个语句序列,简化管理循环变量的代码。 do...while 循环 除了它是在循环主[......] 继续阅读

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

Expression Tree Practice: C# Conditional Statements [TOC] Conditional Statements C# provides the following types of conditional statements: Stateme[......] 继续阅读

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

表达式树练习实践:C#判断语句 [TOC] 判断语句 C# 提供了以下类型的判断语句: 语句 描述 if 一个 if 语句 由一个布尔表达式后跟一个或多个语句组成。 if...else 一个 if 语句 后可跟一个可选的 else 语句,else 语句在布尔表达式为假时执行。 嵌套 if 语句 您可[......] 继续阅读

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

Expression Tree Practice: C# Operators [TOC] In C#, the arithmetic operators can be categorized into the following types: Arithmetic Operators Relati[......] 继续阅读

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