How to iterate through the built-in types in C#?
<p>I want to iterate through the built-in types (bool, char, sbyte, byte, short, ushort, etc) in c#.</p>

<p>How to do that?</p>

<pre><code>foreach(var x in GetBuiltInTypes())
{
//do something on x
}
</code></pre>
