class Program { static void Main(string[] args) { DataClass dataClass = new DataClass() { IntParam = 2, DataEnumParam = DataEnum.Two, }; XmlSerializer xmlserializer = new XmlSerializer(typeof(DataClass)); StringWriter sw = new StringWriter(); xmlserializer.Serialize(sw, dataClass); Console.WriteLine(sw.ToString()); Console.ReadLine(); } } [XmlRoot] public class DataClass { /// <summary> /// ãã®å±æ§ãé
ãã®ãµã¤ãã§ã¯ç°¡åã«ä½¿ãã便å©ãªã¦ã§ããã¼ã«ãå ¬éãã¦ãã¾ãããã¾ã使ããã¨ã§Webéçºãæ¥ã ã®ä½æ¥ãå¹çåãããã¨ãã§ãã¾ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}