Monday, June 8, 2009

Organize Usings

Once we have created our class. In that class we use the using statment at the top of the class.To include namespaces in our class. But sometimes we realize after compeleting the code of that calss we have used some extra namespaces which are of no use in th class to remove all those unused using statment. we can use InteliSense in the edit menu. in the submenu of InteliSense we will find the option organize usings. and in its sub menu we hve the options to remove unused usings to sort usings and to remove and sort usings.


Thanks and Regards
Meetu Choudhary

Friday, June 5, 2009

Format document

To format any document (.cs,XML,aspx,HTML etc) in visual studio 2008
use the following key combinations:
To format whole document : ctrl +k ,(followed by) ctrl + d
To format the selection : ctrl +k, (followed by) ctrl +f




Thanks and Regards
Meetu Choudhary

Subscribe via email

Enter your email address:

Delivered by FeedBurner

MSDotnetMentor

MSDotnetMentor My Website http://msdotnetmentor.com