如何用C#代码判断一个类的类型

 var s = "";

 s.GetType().IsClass;




posted @ 2014-09-05 10:55  南宫萧尘  阅读(1341)  评论(0编辑  收藏  举报