Which programming language is this?
public interface IRepository<T> where T : class
{
Task<T?> FindAsync(int id);
void Add(T entity);
}
Answer: C#
The
Play Programming Languages ▸
I-prefixed interface with a where T : class constraint and a Task<T?> async signature is C#.