How can I do this in C#?

```
public bool IsValid<Validator<T>>(T model)
{
  //...
}

```

i want use :

```
IsValid<Validator.City>(city);

```

instead of

```
IsValid<CityViewModel,Validator.City>(city);

```

My function is :

```
public static bool IsValid<TModel, TValidator>(TModel Item) where TValidator : AbstractValidator<TModel>, new()
    {
        var validate = new TValidator();
      //...
    }

```