Pages

Thursday, October 30, 2014

deepstutorials:How to remove unused Usings using visual studio



To remove the unused Usings ,Visual Studio provides a shortcut i.e You can do this by right clicking in the file, click Organize Usings, and then click Remove Unused Usings as shown in the below snapshot.






how to generate getters and setters in visual studio



My requirement was to generate 10 properties in the following format

public int ID { get; set; }

Visual studio has an shortcut for this, just type prop and then hit tab twice .


How to restore the default layout in Visual Studio



 Sometimes we keep changing the layouts and get lost trying to restore the default layout .Following is a way to do it.

Navigate to Window->Reset to Window Layout(ALT+W,R).
Click YES on the prompt box as shown below.






What is the difference between landscape and potrait orientation?

The orientation can be applied to printed documents, viewing documents , digital photos etc.Page orientation has 2 common types of orientation.

                                       Potrait (vertical orientation)





                                      Landscape (horizontal orientation)