Here is a sample about XML and memory file:     /// <summary>    /// Method to convert a custom Object to XML string    /// </summary>    /// <param name=”pObject”>Object that is to be serialized to XML</param>    /// <returns>XML string</returns>     public String SerializeObject ( Object pObject )    {        try        {            String XmlizedString = null;             MemoryStream memoryStream [Read More ...]

The code sample is from the book “C# Design and Development: Expert One on One“: First, we have a Names class: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Xml; namespace XMLSerialize{   [Serializable()]   public class Names   {      public String FirstName{get;set;}      public String LastName{get;set;}       // The default constructor.      public Names()      {      }       // A contructor that accepts [Read More ...]

© 2013 CodeEase.com Suffusion theme by Sayontan Sinha