Interfaces can have method implementation in C# 8.0 and onward.. | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

Interfaces can have method implementation in C# 8.0 and onward..

I want to know your feedback about this. Is it helpful as now you can also have default implementation in the interface?

22nd Jun 2022, 9:07 PM
Sufian Ahmad
Sufian Ahmad - avatar
1 ответ
0
Personally I think it is adding behavior to what should only be a contract.
20th Jul 2022, 5:54 PM
Asinc
Asinc - avatar