What I want to do is something like this:
switch( myObject.GetType().GetProperty( \"id\") ) { case ??: // when Nullable, do this
As @Cody Gray said if statements would probably be the best way
var t = myObject.GetType(); if (t == typeof(Nullable)) { } else if (t == typeof(string)) {} else if (t==typeof(Nullable)) {}