1 Programming Environment and Tools VS.Net 2012 First project MSDN Library

Preview:

Citation preview

1

Programming Environment and Tools

VS .Net 2012

First project

MSDN Library

2

VS .Net 2012

A Microsoft product IDE (Integrated Development

Environment) Editor + Compiler + Debugger A program which creates other

programs

3

How to start Visual Studio

Visual Studio

4

Visual StudioProgram window

Projects that are created before

Creating a new

project

Start page

5

Creating a new project

Programming Language

Program Type

Name of the program

Directory in which our project will be created

6

First program

7

ReferencesReferences

8

NamespacesNamespace

9

Brackets

Every opening breacketShould have an ending one.

Write codesbetween thesebrackets

10

Class

Class

11

Main

Main

12

Coding

MainPrint to screen

Display date

“;” end of expression

Comments

13

Building the source

Hint: You may build your program by pressing F6

Build menu item

14

Executing the program

Hint: You may run your program by pressing the F5 key.

“Run” menu item

15

Program output

16

MSDN Library

Recommended