上一页 1 ··· 375 376 377 378 379 380 381 382 383 ··· 399 下一页
摘要: http://www.dofactory.com/reference/csharp-coding-standards 阅读全文
posted @ 2015-05-05 20:44 ChuckLu 阅读(160) 评论(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 阅读(194) 评论(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 阅读(625) 评论(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 阅读(226) 评论(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 阅读(2511) 评论(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 阅读(4808) 评论(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 阅读(289) 评论(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 阅读(304) 评论(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 阅读(418) 评论(0) 推荐(0)
摘要: 上面示例中的Farm<T>类以及本章前面介绍的其他几个类都继承自一个泛型类型。 在Farm<T>中,这个类型是一个接口IEnumerable<T>。 这里Farm<T>在T上提供的约束也会在IEnumerable<T>中使用的T上添加一个额外的约束。 这可以用于限制未约束的类型,但是需要遵循一些规则 阅读全文
posted @ 2015-04-23 20:20 ChuckLu 阅读(2423) 评论(0) 推荐(1)
上一页 1 ··· 375 376 377 378 379 380 381 382 383 ··· 399 下一页