XmlReader

1月 26th, 2010

エレメントの値ってReadString()で取れるんだね
ずっとValueで取ろうとして取れなくて3時間くらい某掲示板群見てたよ^^

今日の収穫

拡張メソッド

public static class TestExtensions{
    public static string Test(this string str, string value){
        return str + value;
    }
}
string a = "VIPからきますた";
Console.WriteLine(a.Test("☆"));

>>VIPからきますた☆

・・・あまり出番なさげ(‘A`)

Posted in C#, ProgramingNo Comments

Leave a Comment