Presentation is loading. Please wait.

Presentation is loading. Please wait.

C# 簡介 靜宜大學資工系 蔡奇偉副教授 ©2011. C# 程式語言 C# (pronounced "see sharp") is a multi-paradigm programming language encompassing imperative, declarative, functional,

Similar presentations


Presentation on theme: "C# 簡介 靜宜大學資工系 蔡奇偉副教授 ©2011. C# 程式語言 C# (pronounced "see sharp") is a multi-paradigm programming language encompassing imperative, declarative, functional,"— Presentation transcript:

1 C# 簡介 靜宜大學資工系 蔡奇偉副教授 ©2011

2 C# 程式語言 C# (pronounced "see sharp") is a multi-paradigm programming language encompassing imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines. It was developed by Microsoft within the.NET initiative and later approved as a standard by Ecma (ECMA-334) and ISO (ISO/IEC 23270). C# is one of the programming languages designed for the Common Language Infrastructure.

3 C# 的架構設計師 - Anders Hejlsberg BornDecember 1960 (age 50) Copenhagen, Denmark NationalityDanish EducationTechnical University of Denmark OccupationProgrammer, systems architect EmployerMicrosoft Known forProgramming languages Turbo Pascal, Delphi, C# TitleTechnical Fellow Awards2001 Dr. Dobb's Excellence in Programming Award

4 C# 的版本歷史 版本發表時間.Net 版本 Visual Studio C# 1.001/2002.NET Framework 1.0Visual Studio.NET 2002 C# 1.204/2003.NET Framework 1.1Visual Studio.NET 2003 C# 2.011/2005.NET Framework 2.0Visual Studio 2005 C# 3.011/2007.NET Framework 3.5Visual Studio 2008 C# 4.0042010.NET Framework 4Visual Studio 2010

5 C# 各版本的新增功能 C# 2.0C# 3.0C# 4.0 新增功能新增功能 Generics Partial types Anonymous methods Iterators Nullable types Implicitly typed local variables Object and collection initializers Auto-Implemented properties Anonymous types Extension methods Query expressions Lambda expressions Expression trees Dynamic binding Named and optional arguments Generic co- and contravariance

6 C# 程式的編譯與執行 C# Source Code C# Compiler Assembly Common Intermediate Language (CIL) Type Information Security Information Assembly Common Intermediate Language (CIL) Type Information Security Information JIT Compiler Common Language Runtime (CLR) Native Code Operating System Services Compile Time Run Time

7 Common Language Runtime (CLR)

8 Common Language Infrastructure (CLI) Common Language Runtime (CLR) Common Language Specification (CLS) Base Class Library (BCL) Metadata Definition and Semantics Common Type System (CTS) Common Intermediate Language (CIL) Instruction Set The Common Language Infrastructure (CLI) is a set of specification that lay out the architecture, rules, and conventions of the system.

9 C# Keywoords


Download ppt "C# 簡介 靜宜大學資工系 蔡奇偉副教授 ©2011. C# 程式語言 C# (pronounced "see sharp") is a multi-paradigm programming language encompassing imperative, declarative, functional,"

Similar presentations


Ads by Google