News for hackers. Stuff that matters.
Re:What's wrong with this code, really? by Flow on Saturday September 17, 2011 @05:55AM (#3007674)

  while(container.Size > 0)
    container.Remove(0);
No need for variables.
Re:What's wrong with this code, really? by huhtenberg on Saturday September 17, 2011 @12:09PM (#3008348)

  container.clear();
No need for looping :)
Re:What's wrong with this code, really? by Flow on Saturday September 17, 2011 @12:41PM (#3008422)
Yeah sure, :) , but I meant for those other cases when there are no Clear() method. :)