Recently I came across the below code.
public interface IBlog<T>
{
void Add(T blog);
IEnumerable<T> GetAll();
T GetRecord(int id);
void Delete(int id);
}
What is T
here? What is the purpose of using it?