Non-virtual interface pattern: Difference between revisions

Content deleted Content added
m Improved the comments in C# Example
m C# Example: MOS:HEAD
Line 31:
}}</ref>
 
== C# Exampleexample ==
<syntaxhighlight lang="c#" line="1">
public abstract class Saveable
Line 59:
protected override void CoreSave()
{
Console.WriteLine($"Saved customer {0Name} with credit limit {1Credit}", Name, Credit);
}
}