Chapter 1 Introduction to the Visual Studio 2010 - Pdf 13

HO CHI MINH CITY UNIVERSITY OF INDUSTRY

Author: Duy Thanh Tran – Phone : 0987773061- Email: – Blog:
HO CHI MINH CITY UNIVERSITY OF INDUSTRY

Author: Duy Thanh Tran – Phone : 0987773061- Email: – Blog:
Introduction to the Visual Studio 2010
Chapter 1:
HO CHI MINH CITY UNIVERSITY OF INDUSTRY

Author: Duy Thanh Tran – Phone : 0987773061- Email: – Blog:
What you
Learn in this
chapter?
What’s the
.NET Framework &
What it contains
What C# is
&How a
C# Program runs
Visual Studio 2010
& C#
DEMO C# Console
HO CHI MINH CITY UNIVERSITY OF INDUSTRY

Author: Duy Thanh Tran – Phone : 0987773061- Email: – Blog:
.Net Framework
[4.0]
Microsoft’s Modern
software development
platform

C# compiler
Assembly
(.exe or .dll)
CLR loader
CLR
JIT compiler
Operating system
CPU & other
hardware
.NET
libraries
HO CHI MINH CITY UNIVERSITY OF INDUSTRY

Author: Duy Thanh Tran – Phone : 0987773061- Email: – Blog:
1
Write source code c# and saved file with
.cs extension
2
C# compiler=> Compile source code to an
intermediate language (MSIL)
3
MSIL is contained in an assembly(.exe or
.dll extension)
4
Can use source code or reference .NET
framework libraries
HO CHI MINH CITY UNIVERSITY OF INDUSTRY

Author: Duy Thanh Tran – Phone : 0987773061- Email: – Blog:
5


Author: Duy Thanh Tran – Phone : 0987773061- Email: – Blog:
Solutions and Projects group the items needed
to create a program or application:
 A Solution can contain one or more Project
 A Project represents a particular part of a
solution
 A Project contains source code file, settings &
resource for application
 A Project can contain Class Reference libraries
 Etc…
HO CHI MINH CITY UNIVERSITY OF INDUSTRY

Author: Duy Thanh Tran – Phone : 0987773061- Email: – Blog:
HO CHI MINH CITY UNIVERSITY OF INDUSTRY

Author: Duy Thanh Tran – Phone : 0987773061- Email: – Blog:
1
Solution
1. File/New/Project
(or Ctrl+ Shift +N)
2. Choose “Visual Studio
Solutions” in left panel
3. Enter Name & location
solution => click OK
HO CHI MINH CITY UNIVERSITY OF INDUSTRY

Author: Duy Thanh Tran – Phone : 0987773061- Email: – Blog:
You can see “Solution1”
name in the right panel

HO CHI MINH CITY UNIVERSITY OF INDUSTRY

Author: Duy Thanh Tran – Phone : 0987773061- Email: – Blog:
Problem: You don’t
know which Project
that you want to run
1. Right click on Project
2. Choose Set as
StartUp Project
HO CHI MINH CITY UNIVERSITY OF INDUSTRY

Author: Duy Thanh Tran – Phone : 0987773061- Email: – Blog:
Problem: We have
many Window
Computing Platform…
To any PC can run
your Application, you
must config as below
Right click
on Project
& choose
Properties
HO CHI MINH CITY UNIVERSITY OF INDUSTRY

Author: Duy Thanh Tran – Phone : 0987773061- Email: – Blog:
Or
Go to menu Project
=> Choose Project
properties
HO CHI MINH CITY UNIVERSITY OF INDUSTRY


Nhờ tải bản gốc

Tài liệu, ebook tham khảo khác

Music ♫

Copyright: Tài liệu đại học © DMCA.com Protection Status