How to determine if a object type is a built in system type

前端 未结 8 992
醉酒成梦
醉酒成梦 2020-12-14 00:20

I am writing a simple List to CSV converter. My converter checks the all the t\'s in List and grabs all public properties and places them

8条回答
  •  渐次进展
    2020-12-14 01:12

    I prefer

    colType.FullName.StartsWith("System")
    

    rather then

    colType.Namespace.StartsWith("System")
    

    becose Namespace may be null.

提交回复
热议问题