冒泡排序法 是数组等线性排列的数字从大到小或从小到大排序。 以从小到大排序为例。 数据 11, 35, 39, 30, 7, 36, 22, 13, 1, 38, 26, 18, 12, 5, 45, 32, 6, 21, 42, 23 使用 数组 int [] array 存储数字。 过程 ([......] 继续阅读

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

 Bubble Sort It is a method for sorting numbers in a linear array from largest to smallest or from smallest to largest. Taking sorting from small[......] 继续阅读

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

SQLIte 操作方便,简单小巧,这里笔者就不再过多介绍,感兴趣可以到以下博文 https://blog.csdn.net/qq_31930499/article/details/80420246  文章介绍创建ASP.NET Core 程序,创建模型、上下文,生成数据库,对数据库增删查改[......] 继续阅读

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

SQLite is convenient to use, simple and compact. The author will not elaborate further here; those interested can refer to the following blog. https:/[......] 继续阅读

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

ASP.NET Core 中,可以在静态目录添加文件,直接访问就可以下载。但是这种方法可能不安全,也不够灵活。 我们可以在 Controller 控制器中 添加 一个 Action,通过此Action,即可访问服务器的任何文件。 Action 格式     public FileResult D[......]继续阅读

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

In ASP.NET Core, files can be added to a static directory for direct download. However, this method may not be secure or flexible enough. We can add a[......] 继续阅读

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

The startup process of ASP.NET Core applications is as follows Table of Contents  Startup Class Configure() Method Middleware Using Middleware [......] 继续阅读

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

ASP.NET Core 程序启动过程如下 目录  Startup 类 Configure() 方法 中间件 使用中间件 Configure 方法 的参数 IApplicationBuilder Extension Methods(拓展方法)--微软提供的中间件 1, Startup[......] 继续阅读

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

The author did not study ASP.NET, but went directly to learn ASP.NET Core. After finishing the basics of ASP.NET Core MVC, I began to learn about the[......] 继续阅读

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

笔者没有学 ASP.NET,直接学 ASP.NET Core ,学完 ASP.NET Core MVC 基础后,开始学习 ASP.NET Core 的运行原理。发现应用程序有一个非常主要的 “传导体” HttpContext 。 赶忙写一下笔记先。 目录 &ldqu[......] 继续阅读

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

目录: System.ComponentModel 特性命名空间与常用类 System.ComponentModel.DataAnnotations ComponentModel - Classes 类 ComponentModel - Structs 结构体 ComponentModel[......] 继续阅读

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

Table of Contents: System.ComponentModel Attribute Namespaces and Common Classes System.ComponentModel.DataAnnotations ComponentModel - Classes Compon[......] 继续阅读

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

笔者最近学了表达式树这一部分内容,为了加深理解,写文章巩固知识,如有错误,请评论指出~ 表达式树的概念 表达式树的创建有 Lambda法 和 组装法。 学习表达式树需要 委托、Lambda、Func<> 基础。 表达式树 形状可以参考 二叉树。 可以把表达式树理解成 数学表达式。[......] 继续阅读

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

The author recently studied the concept of expression trees and wrote this article to reinforce understanding. If there are any errors, please comment[......] 继续阅读

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

在日常使用委托时,有以下常用方法 方法名称说明  Clone   创建委托的浅表副本。  GetInvocationList   按照调用顺序返回此多路广播委托的调用列表。  GetMethodImpl   返回由当[......] 继续阅读

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

In everyday use of delegates, the following common methods are available: Method NameDescription  Clone   Creates a shallow copy of the d[......] 继续阅读

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

  Example source code download link https://qcloud.coding.net/api/project/3915794/files/4463836/download Project address:  https://dev.tence[......] 继续阅读

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

  示例源码下载地址 https://qcloud.coding.net/api/project/3915794/files/4463836/download 项目地址 https://dev.tencent.com/u/whuanle/p/asp.netcore_file_up[......] 继续阅读

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

System.Text.Encodings.Web 空间包含表示 Web 编码器的基类、表示 HTML、JavaScript 和 Url 字符编码的子类,以及表示仅允许编码特定字符、字符范围或码位的筛选器的类。     [ 定义来自 microsoft ] 该命名空间有五个类,用于不同对象的编码处理[......] 继续阅读

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

System.Text.Encodings.Web The namespace contains a base class that represents web encoders, subclasses that represent HTML, JavaScript, and URL charac[......] 继续阅读

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