We all know that we can define default methods in Interface for C# 8.0 plus version.
The below code works fine for 8+ version.
interface I1
{
bool Method1()
{
return true;
}
bool Method2()
{
return false;
}
}
That is the difference between abstract class and interface in C# 8.0 + version point of view?
I know the difference between these for previous C# version. I want a clarity for C# 8.0 plus version. Can you pls guide?