示例#1
0
 // Method to output the droid list:
 private void PrintDroidList()
 {
     Console.WriteLine();
     // Get the output string from the droidCollection class's method:
     Console.WriteLine(droidCollection.GetAllDroidsString());
 }