Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
これがコードです。
public class EData { public static EData All(){ return null; } } public class EHouse : EData { }
EHouse関数 All in class returnは必要ありませんEDataが、 return EHouse。
EHouse
EData
EHouse.All()派生クラスで余分なコーディングをせずに EHouse の型を返す必要があります。
EHouse.All()