+ All Categories
Home > Documents > 1 Programming Environment and Tools VS.Net 2012 First project MSDN Library.

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

Date post: 13-Dec-2015
Category:
Upload: rebecca-morton
View: 214 times
Download: 1 times
Share this document with a friend
Popular Tags:
16
1 Programming Environment and Tools VS .Net 2012 First project MSDN Library
Transcript
Page 1: 1 Programming Environment and Tools VS.Net 2012 First project MSDN Library.

1

Programming Environment and Tools

VS .Net 2012

First project

MSDN Library

Page 2: 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

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

3

How to start Visual Studio

Visual Studio

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

4

Visual StudioProgram window

Projects that are created before

Creating a new

project

Start page

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

5

Creating a new project

Programming Language

Program Type

Name of the program

Directory in which our project will be created

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

6

First program

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

7

ReferencesReferences

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

8

NamespacesNamespace

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

9

Brackets

Every opening breacketShould have an ending one.

Write codesbetween thesebrackets

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

10

Class

Class

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

11

Main

Main

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

12

Coding

MainPrint to screen

Display date

“;” end of expression

Comments

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

13

Building the source

Hint: You may build your program by pressing F6

Build menu item

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

14

Executing the program

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

“Run” menu item

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

15

Program output

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

16

MSDN Library


Recommended