06 2023 档案
摘要:```C# public static bool TryGetLocalEndPoint(out IPEndPoint ipEndPoint) { try { string localIP = string.Empty; using (Socket socket = new Socket(Addre
阅读全文
摘要:转发自 https://www.cnblogs.com/walterlv/p/10236378.html `CommandLineParser` 是一款用于解析命令行参数的 NuGet 包。你只需要关注你的业务,而命令行解析只需要极少量的配置代码。 本文将介绍如何使用 `CommandLinePar
阅读全文
摘要:https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-build >-v|--verbosity >Sets the verbosity level of the command. Allowed values are q[uiet],
阅读全文
摘要:### 问题 对于泛型类`List`,如果调用`type.FullName`和`type.Name`会分别返回下面的内容。 ```C# //type.FullName System.Collections.Generic.List`1[[System.Int32, mscorlib, Version
阅读全文