.Value = val; break; }                             default: throw new InvalidOperationException();                         }                         break;                     }                 default: throw new InvalidOperationException();             }         }          public static 