I have this interface
public interface MyInterface{
Collection<T> Find(T t);
Collection<T> FindAll();
T FindById(int id);
void Add(T t);
void Remove(T t);
}
What must I do for the T FindById(int id) method if I need to be guaranteed that T will have an Id of type int? Should I create another interface that my object must extend to use FindById?