Is it possible to define a function that takes in a parameter that must implement two interfaces?
(The two interfaces are ones I just remembered off the top of my head; not the ones I want to use)
private void DoSomthing(IComparable, ICollection input)
{
}
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…