In C#, there is a way to speed-up writing the "foreach" statement.
Just write :
1. foreach
2. Press Tab twice.
3. Write the datatype in "var".
4. Press Tab.
5. Write the variable name in "item".
6. Press Tab.
7. Write the variable name in "collection".
Plain and simple.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment