Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Well for input type
int
one just calls the other.this is cheating
I thought that it has to do something with "Reverse Polish notation", you can read about at http://polymathprogrammer.com/2007/10/22/reverse-polish-notation-with-cs/ but it actually would make i++ faster than ++i (as the idea is ot first place values on stack and than acts on them)
then googling around I have found https://stackoverflow.com/questions/3346450/what-is-the-difference-between-i-and-i and ended up with being more confused :)
there could be some ideas around this with older languages, but from c# compiler I would expect to sort it out on its own, but will try to investigate further
In this instance, there really isn't much of a difference between ++Count and Count++. It is slightly more efficient to do ++Count because the compiler knows that we will need to increment a variable before it gets it. So, it can get the variable and add to it in one swoop instead of getting the variable, realizing the variable need incrementing, and then incrementing. This is how it has been explained to me.
Very clean and easy to understand.
I should probably just Google this but why did you use ++Count rather than Count++ ?