public static bool? ConvertNullableIntToNullableBool (int? nullableValue) { return nullableValue.HasValue ? (bool?) Convert.ToBoolean (nullableValue.Value) : null; }