Interfaces can have method implementation in C# 8.0 and onward.. | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 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 Respuesta
0
Personally I think it is adding behavior to what should only be a contract.
20th Jul 2022, 5:54 PM
Asinc
Asinc - avatar