Exemple #1
0
 public static string PrintStep2(Disk disk, Peg from, Peg to)
 {
     return(disk.Number + " " + from.Name + " " + to.Name);
 }
Exemple #2
0
 public static string PrintStep(Disk disk, Peg from, Peg to)
 {
     return("Move Disk " + disk.Number + " from " + from.Name + " to " + to.Name);
 }