public static Account Account(this AccountNumber an) { if (!an.IsValid()) { throw new InvalidCastException(); } return(CheckPoints.Accounts[an]); }