上一页 1 ··· 377 378 379 380 381 382 383 384 385 ··· 401 下一页
摘要: https://msdn.microsoft.com/en-us/library/bcd5672a.aspx 官方的说法The protected keyword is a member access modifier. A protected member is accessible within 阅读全文
posted @ 2015-05-06 13:38 ChuckLu 阅读(1027) 评论(0) 推荐(0)
摘要: http://www.dofactory.com/reference/csharp-coding-standards 阅读全文
posted @ 2015-05-05 20:44 ChuckLu 阅读(168) 评论(0) 推荐(0)
摘要: http://www.codeproject.com/Articles/93369/How-I-explained-OOD-to-my-wifehttp://www.cnblogs.com/niyw/archive/2011/01/25/1940603.html 中文翻译的版本 阅读全文
posted @ 2015-05-05 16:13 ChuckLu 阅读(206) 评论(0) 推荐(0)
摘要: https://msdn.microsoft.com/zh-cn/library/wewwczdw(v=vs.110).aspxApplications that perform many tasks simultaneously, yet remain responsive to user int... 阅读全文
posted @ 2015-05-04 21:45 ChuckLu 阅读(644) 评论(0) 推荐(0)
摘要: https://medium.com/the-gathering-kind/when-you-re-nearly-40-and-unmarried-and-you-realize-you-re-going-to-be-okay-f1802188394dA few weeks ago my best ... 阅读全文
posted @ 2015-05-04 13:12 ChuckLu 阅读(247) 评论(0) 推荐(0)
摘要: 参考自Default visibility for C# classes and members (fields, methods, etc)?Classes and structs that are declared directly within a namespace (in other wo... 阅读全文
posted @ 2015-05-03 16:54 ChuckLu 阅读(2531) 评论(2) 推荐(0)
摘要: https://msdn.microsoft.com/zh-cn/library/ee378665(v=vs.110).aspx 此方法有一共有2个,现在只讨论其中一个 public TValue AddOrUpdate( TKey key, TValue addValue, Func<TKey, 阅读全文
posted @ 2015-04-30 09:33 ChuckLu 阅读(4825) 评论(0) 推荐(0)
摘要: https://docs.microsoft.com/en-us/dotnet/api/system.timers.timer?view=netframework-4.7.2 Be aware that .NET includes four classes named Timer, each of 阅读全文
posted @ 2015-04-29 10:34 ChuckLu 阅读(312) 评论(0) 推荐(0)
摘要: 输出结果是 A a = new A(); B b = new B(); a.Fun2(b); 将子类B的实例b作为参数传递给父类A的引用a1。Fun2的this是父类的实例a a1.Fun1(1); 输出2 因为父类的变量a1里实际存储的是子类的实例b,所以这里调用的是子类Fun1 Fun1(5); 阅读全文
posted @ 2015-04-28 16:30 ChuckLu 阅读(318) 评论(0) 推荐(0)
摘要: 如果把B类中的new改为override的话 输出结果就为 A B B.Fun() 取自http://www.cnblogs.com/jiekzou/p/4457384.html 解答:[http://bbs.csdn.net/topics/390099393] C#中,如果子类没有显示调用父类的有 阅读全文
posted @ 2015-04-27 21:01 ChuckLu 阅读(425) 评论(0) 推荐(0)
上一页 1 ··· 377 378 379 380 381 382 383 384 385 ··· 401 下一页