Visual Studio and would like to clear certain doubts

Asked By 5 points N/A Posted on -
qa-featured

I am using Visual Studio and would like to clear certain doubts.

i) I want to alphabetically sort the using directives. How do I do this?

ii) Need help with the procedure to return to the currently open Visual Studio solution directory.

iii) Help in plotting the change of variables in Visual Studio.

SHARE
Answered By 20 points N/A #112428

Visual Studio and would like to clear certain doubts

qa-featured

 

You may use Sort Usings option in Visual Studio. It improves the readability of your source code by alphabetizing and organizing your directives. It uses aliases and extern them in the following order: extern aliases, use directives, use aliases.

To call the operation, you can call it in 2 ways:

·         Via the Context Menu – Right click inside the code editor > Point to Organize Usings > click Sort Usings.

·         Via Main Menu – Go to edit menu > click on Intellisense > click on organize usings > click Sort Usings.

To return to the currently open Visual Studio solution directory, you would need to pass the solution directory as a command line argument.

To plot variables, you can try to use property > put code on setter > use some plotting control to plot the collection.

Related Questions