inherit two interface that have same properties

hi all, i have two interfaces that have member with same name inside, and i inherit these two interfaces for some reason but i can't seem to access only one of the member from an interface.. is it possible we decide which member from which interface we wanted to use?


public interface IMemo{
  public long id {get;set;}
}

public interface IStickyNote {
  public long id {get;set;}
}
public class MyNote <T> where T :IMemo, IStickyNote {
  //if i access id member here i will get ambiguity exception 
}
Was this page helpful?