Newtonsoft.Json Newtonsoft.Json is a tool for manipulating JSON on the .Net platform. There is no need to elaborate on its introduction; I have[......] 继续阅读
Newtonsoft.Json Newtonsoft.Json is a tool for manipulating JSON on the .Net platform. There is no need to elaborate on its introduction; I have[......] 继续阅读
各位相加 给定一个非负整数 num,反复将各个位上的数字相加,直到结果为一位数。 示例: 输入: 38 输出: 2 解释: 各位相加的过程为:3 + 8 = 11, 1 + 1 = 2。 由于 2 是一位数,所以返回 2。 进阶:你可以不使用循环或者递归,且在 O(1) 时间复杂度内[......] 继续阅读
Sum of Digits Given a non-negative integer num, repeatedly add the digits of the number until the result is a single digit. Example: Input: 38 Output[......]继续阅读
题目一 原题链接 https://leetcode-cn.com/problems/two-sum/ 给定一个整数数组 nums 和一个目标值 target,请你在该数组中找出和为目标值的那 两个 整数,并返回他们的数组下标。 你可以假设每[......] 继续阅读
Problem 1 Original link https://leetcode-cn.com/problems/two-sum/ Given an integer array nums and a target value target, please fi[......] 继续阅读
冒泡排序法 是数组等线性排列的数字从大到小或从小到大排序。 以从小到大排序为例。 数据 11, 35, 39, 30, 7, 36, 22, 13, 1, 38, 26, 18, 12, 5, 45, 32, 6, 21, 42, 23 使用 数组 int [] array 存储数字。 过程 ([......] 继续阅读
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[......] 继续阅读
Table of Contents: System.ComponentModel Attribute Namespaces and Common Classes System.ComponentModel.DataAnnotations ComponentModel - Classes Compon[......] 继续阅读
目录: System.ComponentModel 特性命名空间与常用类 System.ComponentModel.DataAnnotations ComponentModel - Classes 类 ComponentModel - Structs 结构体 ComponentModel[......] 继续阅读
The author recently studied the concept of expression trees and wrote this article to reinforce understanding. If there are any errors, please comment[......] 继续阅读
笔者最近学了表达式树这一部分内容,为了加深理解,写文章巩固知识,如有错误,请评论指出~ 表达式树的概念 表达式树的创建有 Lambda法 和 组装法。 学习表达式树需要 委托、Lambda、Func<> 基础。 表达式树 形状可以参考 二叉树。 可以把表达式树理解成 数学表达式。[......] 继续阅读
在日常使用委托时,有以下常用方法 方法名称说明 Clone 创建委托的浅表副本。 GetInvocationList 按照调用顺序返回此多路广播委托的调用列表。 GetMethodImpl 返回由当[......] 继续阅读
In everyday use of delegates, the following common methods are available: Method NameDescription Clone Creates a shallow copy of the d[......] 继续阅读
这是一个学生选课信息管理系统,使用VS2010+SQL2008编写,VS2017正常使用。 项目源码下载地址 https://gitee.com/whuanle/xkgl 笔者录了两个视频,打开项目源码地址,可以先看看视频了解项目界面。 学生选课管理系统 项目介绍 这是一个学生选课信息管理[......] 继续阅读
This is a student course selection information management system, developed using VS2010 + SQL2008, and runs normally on VS2017. Project source code d[......] 继续阅读
本文主要讲 C# 常见命名空间 using static 指令 && 调用静态方法 嵌套命名空间&&作用域 别名 Main() 方法 C# 常见命名空间 命名空间 作用 System 创建文件是默认引入,处理数学计算、、环境变量、输出[......] 继续阅读
This article mainly discusses Common C# namespaces using static directive && calling static methods Nested namespaces && scope Alias Main() method [......] 继续阅读
C# provides two types of type conversion: explicit conversion and implicit conversion. Explicit conversion: This type of conversion may cause exceptio[......] 继续阅读
C# 的类型转换有 显式转型 和 隐式转型 两种方式。 显式转型:有可能引发异常、精确度丢失及其他问题的转换方式。需要使用手段进行转换操作。 隐式转型:不会改变原有数据精确度、引发异常,不会发生任何问题的转换方式。由系统自动转换。 不同类型的数据进行操作(加减乘除赋值等等),是[......] 继续阅读
Declaration of Multidimensional Arrays When declaring, the length of the array must be specified, in the format of type [length, length, length, ... ][......] 继续阅读