$ ./guess_the_languageProgramming Languages
Programming Languages · medium · #541

Which programming language is this?

public interface IRepository<T> where T : class
{
    Task<T?> FindAsync(int id);
    void Add(T entity);
}

Answer: C#

The I-prefixed interface with a where T : class constraint and a Task<T?> async signature is C#.
Play Programming Languages ▸