How to find if given string is Built In Types, which are aliases of predefined types in the System Namespace.
Ex: 1
Input = "System.Int32" (this is string)
OutPut : True(indicating it's Built-In Name)
Ex :2
Input = "xxx"
Output = False(indicating it's not Built-In Type name)
Any suggestion regarding this is highly appreciated.
Thanks in advance
I think this is what your looking for.
http://msdn.microsoft.com/en-us/library/system.type.gettype.aspx
The above returns true, as it finds the System.Int32 type – You can also throw an error if it doesn’t find the specified type.