You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

27 regels
381 B

  1. using System;
  2. [Serializable]
  3. public struct XMLAttribute
  4. {
  5. public XMLAttribute(string name, string value)
  6. {
  7. this.name = name;
  8. this.value = value;
  9. }
  10. public XMLAttribute(string name)
  11. {
  12. this.name = name;
  13. this.value = string.Empty;
  14. }
  15. public override string ToString()
  16. {
  17. return this.value;
  18. }
  19. public string name;
  20. public string value;
  21. }