Csharp 简明教程
C
C# 是一种由 Microsoft 开发并由欧洲计算机制造商协会 (ECMA) 和国际标准化组织 (ISO) 批准的现代、通用、面向对象编程语言。
C# is a modern, general-purpose, object-oriented programming language developed by Microsoft and approved by European Computer Manufacturers Association (ECMA) and International Standards Organization (ISO).
C# 由 Anders Hejlsberg 和他的团队在开发 .Net Framework 期间开发。
C# was developed by Anders Hejlsberg and his team during the development of .Net Framework.
C# 是为通用语言基础结构 (CLI) 设计的,CLI 包含可执行代码和允许在不同计算机平台和架构上使用各种高级编程语言的运行时环境。
C# is designed for Common Language Infrastructure (CLI), which consists of the executable code and runtime environment that allows use of various high-level languages on different computer platforms and architectures.
以下原因使 C# 成为广泛使用的专业语言 −
The following reasons make C# a widely used professional language −
-
It is a modern, general-purpose programming language
-
It is object oriented.
-
It is component oriented.
-
It is easy to learn.
-
It is a structured language.
-
It produces efficient programs.
-
It can be compiled on a variety of computer platforms.
-
It is a part of .Net Framework.
Strong Programming Features of C
尽管 C# 构造紧密遵循传统的 C 和 C++ 等高级语言,作为面向对象编程语言,它与 Java 有很强的相似性,它有许多强大的编程功能,使其受到全球众多程序员的喜爱。
Although C# constructs closely follow traditional high-level languages, C and C++ and being an object-oriented programming language. It has strong resemblance with Java, it has numerous strong programming features that make it endearing to a number of programmers worldwide.
以下是 C# 的一些重要功能 −
Following is the list of few important features of C# −
-
Boolean Conditions
-
Automatic Garbage Collection
-
Standard Library
-
Assembly Versioning
-
Properties and Events
-
Delegates and Events Management
-
Easy-to-use Generics
-
Indexers
-
Conditional Compilation
-
Simple Multithreading
-
LINQ and Lambda Expressions
-
Integration with Windows