1.1. C# introduction

发布时间 : 2025-10-25 13:34:35 UTC      

Page Views: 9 views

C# is a simple, modern, general-purpose, object-oriented programming language developed by Microsoft and approved by Ecma and ISO.

C# was created by Anders Hejlsberg and His team developed it durinthe development of the .Net framework.

C# is designed for the common language infrastructure (CLI). CLI consists of executable code and a runtime environment that allows the use of a variety of high-level languages on different computer platforms and architectures.

This tutorial will teach you the basics of C # programming, as well as various advanced concepts related to the C # programming language.

This tutorial helps beginners understand the basics of C # programming. After completing this tutorial, you will reach an intermediate level of C# programming.

C# programming is based on the C and C++ programming languages, so if you have a basic understanding of C and C++ programming, it will help you learn the C# programming language.

Example

using System; namespace HelloWorldApplication { /* Name of the class: HelloWorld */ class HelloWorld { /* main function */ static void Main(string[] args) { /* the first c# programe. */ Console.WriteLine("Hello World!"); Console.ReadKey(); } } } 

Here are the reasons why C# has become a widely used professional language:

  • A modern, universal programming language.

  • Object-oriented.

  • Component oriented.

  • Easy to learn.

  • Structured language.

  • It produces efficient programs.

  • It can be compiled on multiple computer platforms.

  • .Net part of the framework.

1.1.1. The powerful programming function of C# #

Although the idea of C# is very close to the traditional high-level languages C and C++, it is an object-oriented programming language, but it is very similar to Java and has many powerful programming functions, so it is favored by the majority of programmers.

Some important features of C# are listed below:

  • Boolean condition

  • Automatic garbage collection

  • Standard Library

  • Component version

  • Property and event

  • Delegate and event management

  • Easy to use generics

  • Indexers

  • Conditional compilation

  • Simple multithreading

  • LINQ and Lambda expressions

  • Integrated Windows

1.1.2. C# useful resources #

This tutorial lists C# websites, books, and articles.

  • C# Programming Guide introduces the key features of the C# language and how to use the .NET framework accesses the details of C#.

  • Visual Studio downloads the latest version of Visual Studio as a C# integrated development environment.

  • Go Mono- Mono is a software platform that allows developers to simply create cross-platform applications.

  • C Sharp (programming language)-Wikipedia interprets C# (programming language).

《地理信息系统原理、技术与方法》  97

最近几年来,地理信息系统无论是在理论上还是应用上都处在一个飞速发展的阶段。 GIS被应用于多个领域的建模和决策支持,如城市管理、区划、环境整治等等,地理信息成为信息时代重要的组成部分之一; “数字地球”概念的提出,更进一步推动了作为其技术支撑的GIS的发展。 与此同时,一些学者致力于相关的理论研究,如空间感知、空间数据误差、空间关系的形式化等等。 这恰好说明了地理信息系统作为应用技术和学科的两个方面,并且这两个方面构成了相互促进的发展过程。