![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
.Net语言学习
TriWeb_ton
这个作者很懒,什么都没留下…
展开
-
C# 反射技术简介
如果你要获取到这个类的对象实例可以这么做 以String类为例子 string str = "System.String"; String exp = (String )Activator.CreateInstance(str); //如果你要得到这个类的类型信息可以这么做 Type expType = Type.GetType(str); //使用Type对象也可以实例化一个对象转载 2015-12-13 10:17:24 · 389 阅读 · 0 评论 -
C#NetFrame3.5 JsonHelper
一. System.Web.Script.Serialization中的Json序列化工具 using System.Web.Script.Serialization; using System.ServiceModel.Web; 才可以使用它的序列化类 JsonConvert.SerializeObject(object); 二 System.Runtime.Ser转载 2015-12-13 08:49:28 · 726 阅读 · 0 评论