mirror of
https://github.com/markjprice/cs11dotnet7.git
synced 2026-01-31 12:14:16 +01:00
Merge branch 'main' of https://github.com/markjprice/cs11dotnet7
This commit is contained in:
commit
14109e1192
|
|
@ -289,7 +289,7 @@ class Episilon : Delta { }
|
|||
// A class with at least one abstract member must be decorated with the abstract keyword to prevent instantiation.
|
||||
abstract class Zeta { void M3() { } abstract void M4(); }
|
||||
|
||||
// A class inheriting the M3 method but must provide an implementarion for M4.
|
||||
// A class inheriting the M3 method but must provide an implementation for M4.
|
||||
class Eta : Zeta { void M4() { } }
|
||||
|
||||
// In C# 8 and later, interfaces can have default implementatations as well as members that must be implemented.
|
||||
|
|
|
|||
Loading…
Reference in a new issue