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 −

  1. It is a modern, general-purpose programming language

  2. It is object oriented.

  3. It is component oriented.

  4. It is easy to learn.

  5. It is a structured language.

  6. It produces efficient programs.

  7. It can be compiled on a variety of computer platforms.

  8. 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# −

  1. Boolean Conditions

  2. Automatic Garbage Collection

  3. Standard Library

  4. Assembly Versioning

  5. Properties and Events

  6. Delegates and Events Management

  7. Easy-to-use Generics

  8. Indexers

  9. Conditional Compilation

  10. Simple Multithreading

  11. LINQ and Lambda Expressions

  12. Integration with Windows