C#1.0-类 Class
摘要:public interface IEat { void Eat(); } public interface IDrink { void Drink(); } public interface IAnimal : IEat, IDrink { // 接口继承接口时,无需实现父类中的方法 } publ
阅读全文
posted @ 2022-11-11 13:16
凡心所向,素履以往;生如逆旅,一苇以航
posted @ 2022-11-11 13:16
Powered by:
博客园
Copyright © 2025 K丶Formular
Powered by .NET 9.0 on Kubernetes