上一页 1 ··· 155 156 157 158 159 160 161 162 163 ··· 399 下一页
摘要: Bubble sort, sometimes referred to as sinking sort, is a simple sorting algorithm that repeatedly steps through the list, compares adjacent相邻的 element 阅读全文
posted @ 2020-11-08 14:16 ChuckLu 阅读(139) 评论(0) 推荐(0)
摘要: 声明和定义 列表 list 一个数据结构,可以将一组数据存放其中,并进行处理 , 用 方括号 [ ] 表示friends = ['John', 'Mike', 'Mary', 'Zhang San'] 字典dictionary 创建空字典,用花括号 {} 或者函数 dict() dict_0 = { 阅读全文
posted @ 2020-10-29 23:43 ChuckLu 阅读(133) 评论(0) 推荐(0)
摘要: 项目是.net4.7.2的, codedom的nuget包下面 Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\tools有3个子文件夹 net45文件夹是安装和卸载的脚本 Roslyn45是4.5的版本,不支持高级语法 Roslyn 阅读全文
posted @ 2020-10-21 10:46 ChuckLu 阅读(247) 评论(0) 推荐(0)
摘要: IIS 10 - 404 Error (But the files exist...) As I messed around in the services, config files and logs... It appears that the service World Wide Web Pu 阅读全文
posted @ 2020-10-15 10:01 ChuckLu 阅读(63) 评论(0) 推荐(0)
摘要: IComparable doesn't need to be contravariant? In the code below i am targetting the .NET 2.0 Framework. I can pass a Programmer (derived) object to th 阅读全文
posted @ 2020-09-30 17:51 ChuckLu 阅读(166) 评论(0) 推荐(0)
摘要: Covariance and Contravariance in Generics 奇怪的是微软有两篇文章来说明协变和逆变 文章1 Docs .NET C# guide Programming guide Programming concepts Covariance and contravaria 阅读全文
posted @ 2020-09-30 16:51 ChuckLu 阅读(186) 评论(0) 推荐(0)
摘要: https://rules.sonarsource.com/csharp/RSPEC-2386 https://github.com/SonarSource/sonar-dotnet/issues/3636 public class CustomHelper { public static List 阅读全文
posted @ 2020-09-30 15:16 ChuckLu 阅读(3035) 评论(0) 推荐(0)
摘要: How to use NPOI to read Excel spreadsheet that contains empty cells? Try the GetCell method with the MissingCellPolicy: ICell cell = row.GetCell(2, Mi 阅读全文
posted @ 2020-09-29 15:41 ChuckLu 阅读(532) 评论(0) 推荐(0)
摘要: What is an example of the Liskov Substitution Principle? 回答1 A great example illustrating LSP (given by Uncle Bob in a podcast I heard recently) was h 阅读全文
posted @ 2020-09-22 21:37 ChuckLu 阅读(170) 评论(0) 推荐(0)
摘要: Mathematics - Law of probability 概率论 Mathematics - Conditional expectation 条件期望 Mathematics - Matrix 矩阵 Mathematics - Gradient descent 梯度下降 Statistics 阅读全文
posted @ 2020-09-22 21:22 ChuckLu 阅读(201) 评论(0) 推荐(0)
上一页 1 ··· 155 156 157 158 159 160 161 162 163 ··· 399 下一页