似たような処理が複数ある場合、それぞれ同じ処理を書こうとすると面倒である。例えば、RS232CとUDPの通信処理を実装する場合を考える。この場合、通信方式は異なるが、接続、切断、送信、受信という共通操作に違いはない。 このような場合、C#のinterface ...
Take advantage of default interface methods in C# 8.0 to add new methods to an interface without breaking existing implementations. One of the new and interesting features in C# 8.0 is the support for ...
When designing applications, it is important to know when to use an abstract class and when to use an interface. Although abstract classes and interfaces seem similar in some ways, there are key ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する