The class HighScoreList. | Lecture 1 - slide 22 : 22 Program 5 |
abstract class HighScoreList { /* Invariant: Entries always sorted */ public abstract void Open(string FileName); public abstract string Count{ get; } public abstract HighScoreEntry this[int i]{ get; } public abstract void Add(HighScoreEntry e); public abstract void Close(); } |