摘要: git rebase 正文待更新 参考资料: https://blog.screensteps.com/recovering-from-a-disastrous-git-rebase-mistake https://git-scm.com/docs/git-rebase https://blog.c 阅读全文
posted @ 2024-03-12 16:43 zhaotianff 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 今天偶然在看别人代码时,发现在他的代码里使用了Any判断List<T>是否为空。 我一般的做法是先判断是否为null,再判断Count。 看了一下Count的源码如下: 1 [__DynamicallyInvokable] 2 public int Count 3 { 4 [__Dynamicall 阅读全文
posted @ 2024-03-12 14:35 zhaotianff 阅读(6) 评论(0) 推荐(0) 编辑