Nikhil G
Nikhil G

Reputation: 1594

how to autofill foreach loop in visual studio 2010

i would like to know command to autofill foreach loop syntax as we can do autofill for the for loop syntax by pressing tab key 2 time after typing for.

Thanks!

Upvotes: 4

Views: 13485

Answers (1)

jean27
jean27

Reputation: 711

Type foreach and press the Tab key two times. It works the same as what you did with the for loop.

Upvotes: 21

Related Questions