However, at times you may want to change language modes, to do this click on the language indicator - which is located on the right hand of the Status Bar. This will bring up the Select Language Mode dropdown where you can select another language for the current file.
Select the Configuration Properties > C/C++ > Language property page. In C++ Language Standard (or for C, C Language Standard), choose the language standard to support from the dropdown control, then choose OK or Apply to save your changes.
Tools → Import and Export Settings → Import Selected Environment Settings...
A dialog will appear, prompting you whether or not you want to save your current settings. If you've made extensive customizations and might want to go back to them at a later date, you should choose to save them.
Then click "Next". You'll be prompted to import a set of environment settings. At the top will be the default environment settings options, customized for each language. In your case, you'd choose C#.
If you wanted to re-import your saved settings, you'd do it the same way—just browse to the saved settings file in the final step of the wizard.
You could also reset all of the settings from the command line:
devenv /resetsettings
And then choose all over again when prompted.
Note: I prefer "General Developer Settings" if you are going to do development in different technology areas (C++, C#, VB, etc.).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With