Interfaces can have method implementation in C# 8.0 and onward.. | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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 Resposta
0
Personally I think it is adding behavior to what should only be a contract.
20th Jul 2022, 5:54 PM
Asinc
Asinc - avatar