コード例 #1
0
 // Private constructor to enforce use of the static Instance property.
 // Initializes fields and properties and sets the current index to the first
 // random animal.
 private AnimalSpelling()
 {
     results = SpellingResultsService.Instance;      // get the results service and clear any previous results
     Initialize();
 }
コード例 #2
0
 // Private constructor to enforce use of the static Instance property.
 // Initializes fields and properties and sets the current index to the first
 // random animal.
 private AnimalSpelling()
 {
     results = SpellingResultsService.Instance;      // get the results service and clear any previous results
     Initialize();
 }