Introduction To Visual Studio and C Lec 1
Introduction To Visual Studio and C Lec 1
1. Introduction
In this Lecture, we will use Visual Studio and C#. C# is the programming language, while
Visual Studio is the development environment.
2. Visual Studio
2.1. Introduction
Home page of Visual Studio: http://www.microsoft.com/visualstudio
There exist different versions of Visual Studio, such as Visual Studio Express (free), Visual
Studio Professional, Visual Studio Premium and Visual Studio Ultimate.
In this window, you will select an appropriate template based on what kind of application
you want to create, and a name and location for your project and solution.
The most common applications are:
• Windows Form Application
• Console Application
• WPF Application
• ASP.NET Web Application
• Silverlight Application
2.2.3. Solution Explorer
Solutions and projects contain items that represent the references, data connections,
folders, and files that you need to create your application. A solution container can contain
multiple projects and a project container typically contains multiple items.
2.2.4. Toolbox
The Toolbox contains all the necessary controls, etc. you need to create your user interface.
See Figure below.
The Toolbox contains all the controls, etc. we can use
in our user interface.
In order to use them in our user interface, we just drag
and drop them to the “Form”, as shown below:
2.2.5. Editors and Designers
Visual Studio has different editors and design tools.
Graphical User Interface Designer:
Code Editor:
2.2.6. Properties window
Each control we have on our user interface has lots of Properties we can set.
Useful links:
Visual Studio: https://docs.microsoft.com/en-us/visualstudio/welcome-to-visual-studio
C#: http://msdn.microsoft.com/en-us/library/kx37x362.aspx