C# interface inheritance

前端 未结 4 1053
春和景丽
春和景丽 2021-01-01 17:45

Given:

public interface IA
{
    void TestMethod();
}

public interface IB : IA
{
}

Why:

typeof(IB).GetMethods().Count() ==         


        
4条回答
提交回复
热议问题