Sal

Sal


  • Name: [not set]
  • Favorite Languages: [not set]
  • Website: [not set]
  • Location: [not set]
  • About Me: [not set]

Recent Comments

  • C# Tutorial - XML Serialization
    03/27/2009 - 13:39

    This was fantastic information, thank you. Now I have another question. What if what the document I want to read from XML has the following structure in one of its subtrees? how should I create the object?

    <NameValuePairs>
        <Name>Alpha</Name>
        <Value>1.7</Value>
        <Name>Beta</Name>
        <Value>0.3</Value>
        <Name>OtherName</Name>
        <Value>OtherValue</Value>
        <Name>ManyOtherNamesCouldFollow</Name>
        <Value>WithTheirRespectiveValues</Value>
    </NameValuePairs>

    Would using a list or even a Dictionary work?

    Thanks in advance.