S
shapper
Hello,
Can't I implement an interface with static methods?
public interface IProfileRepository {
static Profile GetProfile();
static Profile GetProfile(String username);
}
Then ProfileRepository : IProfileRepository would have these two
methods.
Thank,
Miguel
Can't I implement an interface with static methods?
public interface IProfileRepository {
static Profile GetProfile();
static Profile GetProfile(String username);
}
Then ProfileRepository : IProfileRepository would have these two
methods.
Thank,
Miguel