摘要:
Part 72 What is dictionary in c#Part 73 What is dictionary in c# continuedPart 74 List collection class in c#Part 75 List collection class in c# c... 阅读全文
摘要:
把一个类序列化成xml,显示在txtarea,然后在获取txtarea的值进行反序列化成类,因为一个字段的值是url形式的,url里面有这个符号:&,所以反序列化的时候报错了,查了好久才发现是这个符号&在反序列化的时候导致失败,解决方案:1,最笨拙的方法:在反序列化的时候把&替换掉,反序列化后在替换... 阅读全文
摘要:
阅读全文
摘要:
Part 67 Optional parameters in c#Part 68 Making method parameters optional using method overloadingPart 69 Making method parameters optional by specif... 阅读全文
摘要:
Part 64 - C# Tutorial - How and where are indexers used in .netPart 65 - C# Tutorial - Indexers in c#Part 66 - C# Tutorial - Overloading indexers in c... 阅读全文
摘要:
阅读全文
摘要:
Part 45 C# Tutorial Why EnumsEnums are strongly typed constants.If a program uses set of integral numbers, consider replacing them with enums. Other... 阅读全文
摘要:
Part 40 Exception Handling in C#Part 41 Inner Exceptions in C#Part 42 Custom Exceptions in C#Part 43 Exception handling abusePart 44 Preventing except... 阅读全文
摘要:
Part21Inheritance in c#Why InheritancePillars(支架) of Object Oriented Programming1,Inheritance(继承)2,Encapsulation(封装)3,Abstraction(抽象类)4,Poymorphism(多态... 阅读全文
摘要:
Part11-12 switch statement in C#switch statementbreak statement if break statement is used inside a switch statement,he control will leave the switch... 阅读全文