Example #1
0
 public override string ToString()
 {
     return("for (" + name
            + " = " + initial.ToString()
            + "; " + condition.ToString()
            + "; " + next.ToString()
            + ")\n" + body.ToString());
 }
Example #2
0
 public override string ToString()
 {
     return("foreach (" + name + " in " + collection.ToString() + ")\n"
            + body.ToString());
 }