I have an unexpected behaviour with nullables on primitives.
My test code:
Nullable<long> value = long.Parse("5");
Type type = value.GetType();
// at this Point type is System.Int64 and not Nullable<System.Int64>
Is there any possibility, where value
stays a Nullable<System.Int64>
and does not get converted to a regular long
?