Bài giảng Lập trình C# 2010: Chương 1 - ĐH Công nghệ Đồng Nai
Số trang: 42
Loại file: pptx
Dung lượng: 6.27 MB
Lượt xem: 11
Lượt tải: 0
Xem trước 5 trang đầu tiên của tài liệu này:
Thông tin tài liệu:
Bài giảng Lập trình C# 2010: Chương 1 - Introduction to the Visual Studio 2010 (giới thiệu về Visual Studio 2010) trình bày các nội dung như đặc điểm, vai trò, tính năng của Visual Studio 2010 và một số nội dung khác.
Nội dung trích xuất từ tài liệu:
Bài giảng Lập trình C# 2010: Chương 1 - ĐH Công nghệ Đồng NaiDONG NAI UNIVERSITY OF TECHNOLOGY DONG NAI UNIVERSITY OF TECHNOLOGYChapter 1: Introduction to the Visual Studio 2010 DONG NAI UNIVERSITY OF TECHNOLOGY What’s the What C# is.NET Framework & &How a What it contains C# Program runs What you Learn in this chapter?Visual Studio 2010 DEMO C# Console & C# DONG NAI UNIVERSITY OF TECHNOLOGY Microsoft’s Modern.Net Framework software development [4.0] platformSupport several programming languages:C# ,VB, C++,F#...Common Language Runtime (CLR)Include .NET Framework Class Library(FCL) DONG NAI UNIVERSITY OF TECHNOLOGY Programming language use to create application will run in the .NET CLR Evolution of the C & C++Why languages Syntax is simpleC# ? Directly accessing & manipulating system memory Incorporate the best features from other languages & Clearing up their problems DONG NAI UNIVERSITY OF TECHNOLOGY Windows Application Application you can write in C#Web Services eb Application W DONG NAI UNIVERSITY OF TECHNOLOGY m runs? # prograHow aC DONG NAI UNIVERSITY OF TECHNOLOGY C# Source CLR loader (.cs) .NET CLR libraries JIT compilerC# compiler Operating system Assembly CPU & other(.exe or .dll) hardware DONG NAI UNIVERSITY OF TECHNOLOGY Write source code c# and saved file1 with .cs extension C# compiler=> Compile source code to2 an intermediate language (MSIL) MSIL is contained in an3 assembly(.exe or .dll extension) Can use source code or reference4 .NET framework libraries DONG NAI UNIVERSITY OF TECHNOLOGY5 CLR runs on top of host operating system CLR loads assembly & uses JIT6 compiler to translate MSIL to native machine code7 Load .NET libraries if need MSIL code can execute on any CPUs8 if CPU is supported by CLR DONG NAI UNIVERSITY OF TECHNOLOGYPowerful, professional IntegratedDevelopment Environment (IDE)Integrated compiler,debugger, o 10 di 20 StuOther useful tool…We can work: al suØ Console application ViØ Window applicationØ Web applicationØ .NET Libraries DONG NAI UNIVERSITY OF TECHNOLOGYSolution ??? Project & Project o 10 di Properties 20 Stu Build al su ??? Vi Debuggin g??? DONG NAI UNIVERSITY OF TECHNOLOGYSolutions and Projects group the itemsneeded 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Ø DONG NAI UNIVERSITY OF TECHNOLOGY Solution to createHow ect? & Proj DONG NAI UNIVERSITY OF TECHNOLOGY1 Solution 1. File/New/Project (or Ctrl+ Shift +N) 2. Choose “Visual Studio Solutions” in left panel 3. Enter Name & location solution => click OK DONG NAI UNIVERSITY OF TECHNOLOGYYou can see“Solution1” name inthe right panel DONG NAI UNIVERSITY OF TECHNOLOGY2 How To add New Project : 1. Right click on Solution1 2. Choose Add item 3. Choose New Project DONG NAI UNIVERSITY OF TECHNOLOGY addNew You canProjec choose t anyDialog Applicatio Type n name & click OK DONG NAI UNIVERSITY OF TE ...
Nội dung trích xuất từ tài liệu:
Bài giảng Lập trình C# 2010: Chương 1 - ĐH Công nghệ Đồng NaiDONG NAI UNIVERSITY OF TECHNOLOGY DONG NAI UNIVERSITY OF TECHNOLOGYChapter 1: Introduction to the Visual Studio 2010 DONG NAI UNIVERSITY OF TECHNOLOGY What’s the What C# is.NET Framework & &How a What it contains C# Program runs What you Learn in this chapter?Visual Studio 2010 DEMO C# Console & C# DONG NAI UNIVERSITY OF TECHNOLOGY Microsoft’s Modern.Net Framework software development [4.0] platformSupport several programming languages:C# ,VB, C++,F#...Common Language Runtime (CLR)Include .NET Framework Class Library(FCL) DONG NAI UNIVERSITY OF TECHNOLOGY Programming language use to create application will run in the .NET CLR Evolution of the C & C++Why languages Syntax is simpleC# ? Directly accessing & manipulating system memory Incorporate the best features from other languages & Clearing up their problems DONG NAI UNIVERSITY OF TECHNOLOGY Windows Application Application you can write in C#Web Services eb Application W DONG NAI UNIVERSITY OF TECHNOLOGY m runs? # prograHow aC DONG NAI UNIVERSITY OF TECHNOLOGY C# Source CLR loader (.cs) .NET CLR libraries JIT compilerC# compiler Operating system Assembly CPU & other(.exe or .dll) hardware DONG NAI UNIVERSITY OF TECHNOLOGY Write source code c# and saved file1 with .cs extension C# compiler=> Compile source code to2 an intermediate language (MSIL) MSIL is contained in an3 assembly(.exe or .dll extension) Can use source code or reference4 .NET framework libraries DONG NAI UNIVERSITY OF TECHNOLOGY5 CLR runs on top of host operating system CLR loads assembly & uses JIT6 compiler to translate MSIL to native machine code7 Load .NET libraries if need MSIL code can execute on any CPUs8 if CPU is supported by CLR DONG NAI UNIVERSITY OF TECHNOLOGYPowerful, professional IntegratedDevelopment Environment (IDE)Integrated compiler,debugger, o 10 di 20 StuOther useful tool…We can work: al suØ Console application ViØ Window applicationØ Web applicationØ .NET Libraries DONG NAI UNIVERSITY OF TECHNOLOGYSolution ??? Project & Project o 10 di Properties 20 Stu Build al su ??? Vi Debuggin g??? DONG NAI UNIVERSITY OF TECHNOLOGYSolutions and Projects group the itemsneeded 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Ø DONG NAI UNIVERSITY OF TECHNOLOGY Solution to createHow ect? & Proj DONG NAI UNIVERSITY OF TECHNOLOGY1 Solution 1. File/New/Project (or Ctrl+ Shift +N) 2. Choose “Visual Studio Solutions” in left panel 3. Enter Name & location solution => click OK DONG NAI UNIVERSITY OF TECHNOLOGYYou can see“Solution1” name inthe right panel DONG NAI UNIVERSITY OF TECHNOLOGY2 How To add New Project : 1. Right click on Solution1 2. Choose Add item 3. Choose New Project DONG NAI UNIVERSITY OF TECHNOLOGY addNew You canProjec choose t anyDialog Applicatio Type n name & click OK DONG NAI UNIVERSITY OF TE ...
Tìm kiếm theo từ khóa liên quan:
Kỹ thuật lập trình Công nghệ lập trình Ngôn ngữ lập trình C Học lập trình C Visual Studio 2010 Kỹ thuật lập trìnhGợi ý tài liệu liên quan:
-
Kỹ thuật lập trình trên Visual Basic 2005
148 trang 260 0 0 -
NGÂN HÀNG CÂU HỎI TRẮC NGHIỆM THIẾT KẾ WEB
8 trang 202 0 0 -
101 trang 199 1 0
-
Giới thiệu môn học Ngôn ngữ lập trình C++
5 trang 192 0 0 -
Bài giảng Nhập môn về lập trình - Chương 1: Giới thiệu về máy tính và lập trình
30 trang 161 0 0 -
Luận văn: Nghiên cứu kỹ thuật giấu tin trong ảnh Gif
33 trang 152 0 0 -
Tìm hiểu về ngôn ngữ lập trình C: Phần 1 - Quách Tuấn Ngọc
211 trang 149 0 0 -
161 trang 129 1 0
-
Báo cáo thực tập Công nghệ thông tin: Lập trình game trên Unity
27 trang 117 0 0 -
Giáo trình Vi điều khiển PIC: Phần 1
119 trang 116 0 0