How to compare value types, arrays and determine whether the value is default value of particular type fast.