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
}
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
}