原始类型枚举 - 是否存在 [英] primitive types enum - does it exist
本文介绍了原始类型枚举 - 是否存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要向用户提供所有可用的原始类型的列表,并且想知道.net库中是否有一个具有所有原始类型的枚举,以便我不必构建一个。
I need to provide a user a list of all primitive types available and was wondering if there is an Enum in the .net library that has all primitive types, so that I don't have to build one.
推荐答案
最近你会得到的是 System.TypeCode 。
这篇关于原始类型枚举 - 是否存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文