Language features

Serialization using C#

Posted on August 8, 2008. Filed under: Language features | Tags: , , , , , |

Serialization using C# Steps 1. Create a Sample class library 2. Implement custom XML attributes 3. Write Client Call to serialize to XMLString Example Create a Sample class library & Implement custom XML attributes namespace ExpShoppingList { [XmlRoot("shoppingList")] public class ShoppingList {     private ArrayList listShopping;     public ShoppingList()     {         listShopping = new [...]

Read Full Post | Make a Comment ( None so far )

Linq & C#

Posted on July 31, 2008. Filed under: Language features | Tags: , , , |

C# & LINQ Features Instantiation you dont need to create a object variable and assign the instantiation to it. Example new MyClass().AddMethod(12,35) ; Extensions Declare a Class and add Static class with Extensions keyword under the same namespace that will add all methods of Static class Extensions to all classes in that namespace Example class [...]

Read Full Post | Make a Comment ( None so far )

Liked it here?
Why not try sites on the blogroll...

Follow

Get every new post delivered to your Inbox.