public string GetClientId() { return ClientId.Id; }
private void Validate(Account newAccount) { string clientId = newAccount.GetClientId(); if (accounts.Any(account => account.GetClientId() != clientId)) { throw new ArgumentException("Account from two different clients cannot be added."); } }