上一页 1 ··· 177 178 179 180 181 182 183 184 185 ··· 399 下一页
摘要: https://docs.microsoft.com/en-us/visualstudio/msbuild/customize-your-build?view=vs-2019 MSBuild projects that use the standard build process (importin 阅读全文
posted @ 2020-05-13 14:20 ChuckLu 阅读(333) 评论(0) 推荐(0)
摘要: WaitAll vs WhenAll 回答1 Task.WaitAll blocks the current thread until everything has completed. Task.WhenAll returns a task which represents the action 阅读全文
posted @ 2020-05-12 16:51 ChuckLu 阅读(304) 评论(0) 推荐(0)
摘要: When does a C# Task actually start? Calling an async method returns a hot task, a task that has already been started. So there is no actual code neces 阅读全文
posted @ 2020-05-12 16:08 ChuckLu 阅读(165) 评论(0) 推荐(0)
摘要: What are 'closures' in .NET? I have an article on this very topic. (It has lots of examples.) In essence, a closure is a block of code which can be ex 阅读全文
posted @ 2020-05-12 14:46 ChuckLu 阅读(136) 评论(0) 推荐(0)
摘要: 经过测试发现,多线程操作都是安全的。甚至包括在遍历的时候,进行删除操作 https://github.com/ChuckTest/ConcurrentTest class Program { private static readonly ConcurrentDictionary<int, int> 阅读全文
posted @ 2020-05-11 19:15 ChuckLu 阅读(266) 评论(0) 推荐(0)
摘要: When Iterating Over ConcurrentDictionary and only reading, is ConcurrentDictionary locked? https://referencesource.microsoft.com/#mscorlib/system/Coll 阅读全文
posted @ 2020-05-11 14:11 ChuckLu 阅读(706) 评论(0) 推荐(0)
摘要: ArrayList.Synchronized Method Returns a list wrapper that is synchronized (thread safe). The following code example shows how to lock the collection u 阅读全文
posted @ 2020-05-11 11:28 ChuckLu 阅读(227) 评论(0) 推荐(0)
摘要: Programmatically add an application to Windows Firewall 回答1 Not sure if this is the best way, but running netsh should work: netsh firewall add allowe 阅读全文
posted @ 2020-05-10 14:18 ChuckLu 阅读(233) 评论(0) 推荐(0)
摘要: Three keys to brilliant time management Plan: Understand the purpose of your task and set yourself meaningful goals. Prioritise: Categorise tasks acco 阅读全文
posted @ 2020-05-08 18:44 ChuckLu 阅读(937) 评论(0) 推荐(0)
摘要: 1.put the file under %userprofile% .git_commit_template.txt [Fix] [Refactor] [Reformat] 2. git config --global commit.template ~/.git_commit_template. 阅读全文
posted @ 2020-05-08 16:39 ChuckLu 阅读(217) 评论(0) 推荐(0)
上一页 1 ··· 177 178 179 180 181 182 183 184 185 ··· 399 下一页