Saving files and project
Provides step-by-step instructions on how to save files and projects in the Visual C# IDE
It is important to save files and projects regularly. This section will show how projects are saved.
When new files are added to the project, the IDE opens them in a `Tab'. Each file is displayed in its own tab. We can switch between the files by clicking on the tab for the required file.
If a change is made to a file, an asterisk symbol is displayed on its tab, indicating that the file contains unsaved changes.
To save the currently active file (the file in which we are working), there are several options:
- From the `File' Menu, select the `Save [file name]' option where [file name] is the name of the currently active file.
For example, if we are working in a file called program.cs, the menu will be displayed as - Save program.cs
OR
- Press `Ctrl+S' from the keyboard.
OR
- Click on the Save button
on the standard toolbar.
OR
- Right click on the tab of the file. From the menu select `Save [file name]' option.
To save the entire project at once, we have the following options -
- From the `File' menu, select `Save All' option
OR
- On the standard toolbar, click the Save All button.
Note: In every application, it is very important to save progress periodically.
