Visual Studio. NET's primary development environment, in which you can write, compile, debug, and optimize. NET program.
Visual Studio. NET is a fully integrated development environment for writing, debugging code, compiling the code into an assembly for publishing. In fact, Visual Studio. NET provides a very complex, multiple-document interface application in which any operation related to the development code is available:
Text Editor:
In a text editor, you can write C # code (and VB.net, J #, and C + + code). This text editor is quite complex, for example, when you type a statement, it can automatically lay out code, such as indented lines of code, matching the end and end brackets of code blocks, providing color-coded keywords, and so on. When you type a statement, it can also perform some syntax checking to underline the code that might produce a compilation error, also known as debugging during design time. It also provides IntelliSense capabilities. When you start typing, it automatically displays the class, field, or method name. When you start typing a parameter for a method, it also displays a list of parameters for the overloaded methods available. The following screen Figure 1.2 shows this feature, which operates with a. NET base class DataGridView.
Design view editor for code:
It can visually place user interfaces and data access controls in your project. At this point, Visual Studio. NET automatically adds the necessary C # code to the source file and instantiates the controls in the project (in. NET, all controls are actually instances of the base class).
Support window:
They can view and modify aspects of the project, such as those that display the classes in the source code and the available properties (and their initial values) in Windows Forms and Web Forms classes. You can also use these windows to specify compilation options, such as which assemblies your code needs to refer to.
Compiling in the environment:
You can only select one menu option to compile the project without having to run the C # compiler on the command line. Visual Studio. NET invokes the C # compiler and passes all relevant command-line arguments to the compiler, such as the assembly to be referenced and the type of assembly to generate (for example, an executable file or library. dll). Visual Studio. NET can also run compiled executables directly, and users can see if the files are working correctly and can choose different compilation configurations, such as compiling a release or debug version.
Integrated debugger:
The essence of programming is that code does not normally execute correctly the first time it is run. It may be a second, third time to run correctly. Visual Studio. NET seamlessly linking to a debugger, you can set breakpoints in the debugging environment and observe variables.
Integrated MSDN Help:
Visual Studio. NET can invoke the MSDN documentation description in the IDE. For example, in a text editor, if you cannot determine the meaning of a keyword, you can select it, press the F1 key, and Visual Studio. NET opens MSDN to display related topics. Also, if you don't know what a compilation error means, you can open MSDN, select an error message, and press the F1 key, and the system will display the error message.
To access other programs:
Visual Studio. NET can also invoke many other tools to view and modify some of the contents of a computer or network without exiting the development environment. With these tools, you can check the running service and database connections, view the SQL Server tables directly, and even open the Internet Explorer window to browse the Web.