XML serialization of hash table(C#3.0)

前端 未结 3 530
一个人的身影
一个人的身影 2021-01-21 05:20

Hi I am trying to serialize a hash table but not happening

private void Form1_Load(object sender, EventArgs e)
        {
            Hashtable ht = new Hashtable         


        
3条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-21 05:48

    I suggest you use DataContractSerializer, it's more powerful and easier to use.

提交回复
热议问题