您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

27 行
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. }