Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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!

like image 371
Nikhil G Avatar asked Dec 01 '22 06:12

Nikhil G


1 Answers

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

like image 121
jean27 Avatar answered Jun 26 '23 09:06

jean27