This is my Interface:
interface IComandos<T>
{
void Inserir();
IList<T> Pesquisar(string termo);
void Editar();
void Excluir();
}
Here, a class implementing the Interface:
class Partido : IComandos<Partido>
{
public string Nome { get; set; }
public string Sigla { get; set; }
...
public IList<Partido> Pesquisar(string termo)
{
throw new NotImplementedException();
}
Question: I need my "Pesquisar" method to be static. How can I do it? I really need my Method to work like this -> Partido.Pesquisar("something");