随笔分类 -  C# Programming Guide

摘要:https://msdn.microsoft.com/en-us//library/bb383977.aspx private static void Dump(this ArraySegment<byte> segment) { string output = string.Join(",", s 阅读全文
posted @ 2016-05-04 09:19 ChuckLu 阅读(348) 评论(0) 推荐(0)
摘要:https://msdn.microsoft.com/en-us/library/kwtft8ak(v=vs.140).aspx It is often useful to define interfaces either for generic collection classes, or for 阅读全文
posted @ 2016-03-21 16:38 ChuckLu 阅读(265) 评论(0) 推荐(0)
摘要:https://msdn.microsoft.com/en-us/library/ms173153.aspx In C#, a method in a derived class can have the same name as a method in the base class. You ca 阅读全文
posted @ 2016-03-14 16:25 ChuckLu 阅读(243) 评论(0) 推荐(0)
摘要:The C# language is designed so that versioning between base and derived classes in different libraries can evolve发展 and maintain backward compatibilit 阅读全文
posted @ 2016-03-14 15:21 ChuckLu 阅读(228) 评论(0) 推荐(0)
摘要:https://msdn.microsoft.com/en-us/library/ms173152.aspx Polymorphism is often referred to as the third pillar of object-oriented programming, after enc 阅读全文
posted @ 2016-03-14 14:06 ChuckLu 阅读(622) 评论(0) 推荐(0)
摘要:https://msdn.microsoft.com/en-us/library/ms173157.aspx If a class implements two interfaces that contain a member with the same signature, then implem 阅读全文
posted @ 2016-03-10 09:50 ChuckLu 阅读(269) 评论(0) 推荐(0)
摘要:https://msdn.microsoft.com/en-us/library/ms173156.aspx An interface contains definitions for a group of related functionalities that a class or a stru 阅读全文
posted @ 2016-03-10 09:42 ChuckLu 阅读(383) 评论(0) 推荐(0)
摘要:C# Programming Guide Anonymous Functions Lambda Expressions Anonymous Methods In versions of C# before 2.0, the only way to declare a delegate was to 阅读全文
posted @ 2014-12-10 16:16 ChuckLu 阅读(242) 评论(0) 推荐(0)
摘要:https://msdn.microsoft.com/en-us/library/k9x6w0hc(v=vs.140).aspx A static constructor is used to initialize any static data, or to perform a particula 阅读全文
posted @ 2014-11-10 14:33 ChuckLu 阅读(732) 评论(0) 推荐(0)