title: How to Convert var to string?
body: <p><strong>How to Convert var to string?</strong>
  In my windowsphone application page, i want to convert this var <strong>DemoHeader</strong>  to a string.</p>
  
  <hr>
  
  <pre><code>XDocument myData = XDocument.Load("aarti.xml");
  
  var DemoHeader = from query in myData.Descendants("bookinfo")
                   select new HeaderT
                   {
                       Header = (string)query.Element("header")
                   };
  
  
  ContentHeaderLine.Text = DemoHeader.ToString();‏ //LINE GIVING WRONG DATA
  
  public class HeaderT
  {
      string header;
      public string Header
      {
          get { return header; }
          set { header = value; }
      }    
  }
  </code></pre>
  
  <hr>
  
  <p>How can i convert   <strong>var DemoHeader</strong> to a string?</p>