c#开发园地

c#开发园地

管理
 Dictionary<string, string> b = new Dictionary<string, string>() { {"sdf", "dfs"}, {"sfdf", "sdf"} };
List
<string> b = new List<string>() { "s", "d", "f" };

 

 

    class Class1
    {
        public int x { get; set; }
        public int y{ get; set; }

        public Class1(int x) {

            this.x = x;
       
        }


    }

 

 

  Class1 x = new Class1(12) { y = 13 };

posted on 2008-03-10 23:18  chl  阅读(150)  评论(0)    收藏  举报