Top-level statements can look confusing to long-time .NET users, but it’s just a matter of hiding the plumbing code.
You are browsing archives for
Category: C-Sharp Language Features
The contract has changed: Default Interface methods in C# 8.0
As long as I’ve been teaching object-oriented programming, I’ve drummed this phrase (or something like it) into my students’ heads, to get across how interfaces are different than classes: For classes: A subclass inherits from its superclass dynamically: As new members are added to the superclass, they are automatically available for the subclass (Based on […]