多维数组的声明 在声明时,必须指定数组的长度,格式为 type [lenght ,lenght ,lengh, ... ] int [,] test1 = new int [3,3];  或声明时即赋值,由系统推断长度 int [,] test1 = { {1,2,3[......]继续阅读

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

Declaration of Multidimensional Arrays When declaring, the length of the array must be specified, in the format of type [length, length, length, ... ][......] 继续阅读

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

The general usage format is int pagesize = page size (size of each page)int pageindex = the page number (this variable generally increments with eac[......]继续阅读

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

一般使用格式为 int pagesize = 分页大小(每一页大小)int pageindex = 第几页(一般这个变量是随循环递增的) 使用方法.Skip(pagesize*pageindex).Take(pagesize) .Skip()   忽略数,表示从哪里开始分[......] 继续阅读

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

使用app.UseFileServer 在 public void Configure(){}中,修改或添加 1 app.UseFileServer(new FileServerOptions() 2 { 3 FileProvide[......]继续阅读

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

Using app.UseFileServer In public void Configure(){} modify or add 1 app.UseFileServer(new FileServerOptions() 2 { 3[......]继续阅读

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

关于ListBox ListBox是WinForm中的 列表 控件,它提供了一个项目列表(一组数据项),用户可以选择一个或者多个条目,当列表项目过多时,ListBox会自动添加滚动条,使用户可以滚动查阅所有选项。ListBox可以预先设定列表内容,也可以绑定其他控件或数据库,自动[......] 继续阅读

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

About ListBox ListBox is a list control in WinForm that provides a list of items (a set of data items) from which users can select one or more entries[......] 继续阅读

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

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

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

For context classes, there should be an overloaded base(options) constructor. public partial class DatabaseContext : DbContext { publi[......]继续阅读

2019年11月18日 0条评论 282点热度 2人点赞 痴者工良 阅读全文

对于上下文类,要有一个 base(options) 构造函数重载。 public partial class DatabaseContext : DbContext { public DatabaseContext() { }[......]继续阅读

2019年11月18日 0条评论 4385点热度 2人点赞 痴者工良 阅读全文

EF Core 查询中默认是跟踪查询。

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

EF Core 查询中默认是跟踪查询。

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

// Set up client HttpClient client = new HttpClient(); client.DefaultRequestHeaders.Authorization =[......]继续阅读

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

// 设置 client HttpClient client = new HttpClient(); client.DefaultRequestHeaders.Authorization = new[......]继续阅读

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

Common Value Types Value type variables can be directly assigned a value. They are derived from the class System.ValueType. | Type | Description[......] 继续阅读

2019年8月21日 2条评论 312点热度 0人点赞 痴者工良 阅读全文

常用值类型(Value types) 值类型变量可以直接分配给一个值。它们是从类 System.ValueType 中派生的。 类型 描述 范围 默认值 bool 布尔值 True 或 False False byte 8 位无符号整数 0 到 255 0 char 16 位[......] 继续阅读

2019年8月21日 2条评论 3725点热度 0人点赞 痴者工良 阅读全文

https://docs.microsoft.com/zh-cn/aspnet/core/fundamentals/logging/?view=aspnetcore-2.2#nuget-packages NuGet 包 ILogger 和 ILoggerFactory 接口位于 Microsoft.[......] 继续阅读

2019年7月30日 1条评论 4500点热度 1人点赞 痴者工良 阅读全文

NuGet Packages The ILogger and ILoggerFactory interfaces are located in Microsoft.Extensions.Logging.Abstractions, with their default implementation f[......] 继续阅读

2019年7月30日 1条评论 320点热度 1人点赞 痴者工良 阅读全文