2 ms·
while(container.Size > 0) container.Remove(0); No need for variables.
by Flow 15y ago
while(container.Size > 0)
container.Remove(0);
No need for variables.
- huhtenberg 15y agocontainer.clear(); No need for looping :)
- Flow 15y agoYeah sure, :) , but I meant for those other cases when there are no Clear() method. :)