随笔分类 - .NET 特性集
关于在新版本.NET Framework中出现的新特性的介绍
摘要:需求: 通过dotnet命令行启动asp.net core 服务时,自定义监听端口。 方法: 在program.cs中增加命令行参数配置: 使用命令行制订监听端口:
阅读全文
摘要:The Task Parallel Library (TPL) is a set of public types and APIs in theSystem.ThreadingandSystem.Threading.Tasksnamespaces. The purpose of the TPL is...
阅读全文
摘要:public class TestClass { public dynamic Values { get; set; }}public class Test{ static void Func(TestClass test) { if(test.Values != null) {...
阅读全文

浙公网安备 33010602011771号