private void ValidateFields() { if (UserUsername != null && UserPassword != null) { if (UserUsername.Count() >= 6 && UserPassword.Count() >= 6) { HasMetRequirements = true; } else { HasMetRequirements = false; } } }