44 Console.WriteLine(
"Strategy Exercise");
58 Console.WriteLine(
" Done.");
Represents an individual with a Name, Age, and Height.
Example of using the Strategy Pattern in C#.
void Run()
Executes the example for the Strategy Pattern in C#.
EntryInformation[] entries
List of individuals to play around with in the Strategy exercise.
Represents a way of displaying a list of EntryInformation objects in a particular order....
SortOptions
Identifies the different sorting strategies available.
void ShowEntries(EntryInformation[] entries)
Display the specified entries in sorted order. The order of the sort was established when the Strateg...
The namespace containing all Design Pattern Examples implemented in C#.