Tuesday, March 10, 2015

Speeding up "for" statement

In C#, we can speed up typing of the "for" statement by using this:

Just type:
     1. for
     2. Press Tab twice.
     3. Write the variable name in "i".
     4. Press Tab.
     5. Write the variable name in "length".

That's it!  No need to type everything. Just fill-in the blanks.

No comments: