C# 指南C# Guide

C# 指南提供有關 C# 語言的許多資源。The C# guide provides many resources about the C# language. 此網站適用於許多不同的對象。This site has many different audiences. 根據您的程式設計體驗,或是使用 C# 語言和 .NET 的體驗,您可能想要探索本指南的不同章節。Depending on your experience with programming, or with the C# language and .NET, you may wish to explore different sections of this guide.

  • 全新的開發人員:For brand-new developers:

    • 快速入門一節開始著手。Start with the Quickstarts section. 這些快速入門可讓您在瀏覽器中以互動方式探索 C# 語言。These quickstarts let you explore the C# language interactively in your browser. 然後,您可以在這裡繼續進行教學課程一節。From there, you can move on to the tutorials section. 這些教學課程示範如何從頭開始建立 C# 程式。These tutorials show you how to create C# programs from scratch. 這些教學課程提供建立程式的逐步程序。The tutorials provide a step-by-step process to create programs. 課程將說明語言的概念,以及如何建置自己的 C# 程式。They show the language concepts, and how to build C# programs on your own. 如果您想要先閱讀概觀資訊,請嘗試 C# 語言教學課程If you prefer reading overview information first, try the tour of the C# language. 它會說明 C# 語言的概念。It explains the concepts of the C# language. 閱讀本節之後,您將對此語言具有基本的認識,且準備好嘗試進行教學課程,或自行建置一些項目。After reading this, you'll have a basic understanding of the language, and be ready to try the tutorials, or build something on your own.
  • 新的 C# 開發人員:For developers new to C#:

    • 如果您之前已經完成開發,但剛接觸 C#,請閱讀 C# 語言教學If you've done development before, but are new to C#, read the tour of the C# language. 課程中涵蓋此語言的基本語法和結構,而您可以使用此語言教學來對比 C# 與您曾用過的其他語言。It covers the basic syntax and structure for the language, and you can use the language tour to contrast C# with other languages you've used. 您也可以瀏覽教學課程以嘗試基本的 C# 程式。You can also browse the tutorials to try basic C# programs.
  • 有經驗的 C# 開發人員:Experienced C# developers:

    • 如果您之前曾用過 C#,您一開始應該先閱讀語言最新版本的新功能。If you've used C# before, you should start by reading what's in the latest version of the language. 查看 C# 的新功能,以了解目前版本的新功能。Check out What's new in C# for the new features in the current version.

C# 指南的編排方式How the C# guide is organized

C# 指南含有數個章節。There are several sections in the C# Guide. 您可以按順序閱讀,或直接跳至您最感興趣的部分。You can read them in order, or jump directly to what interests you the most. 某些章節大量著重於語言本身。Some of the sections are heavily focused on the language. 其他章節則提供端對端案例,來示範數個您可以使用 C# 和 .NET Framework 建立的程式類型。Others provide end-to-end scenarios that demonstrate a few of the types of programs you can create using C# and the .NET Framework.

  • 開始使用Get Started

    • 本節涵蓋您需要在慣用的平台上針對 C# 開發環境進行安裝的項目。This section covers what you need to install for a C# development environment on your preferred platform. 本節中的不同主題會說明如何在不同的支援環境中建立您的第一個 C# 程式。The different topics under this section explain how to create your first C# program in different supported environments.
  • C# 快速入門C# Quickstarts:

    • C# 快速入門提供適用於新進開發人員的互動式教學課程,讓他們在瀏覽器中使用「讀取、求值、輸出」迴圈 (REPL) 介面來探索及學習 C# 語言。C# Quickstarts presents interactive tutorials for brand-new developers to explore and learn the C# language in the browser using a Read-Eval-Print Loop (REPL) interface. 完成互動式課程之後,您可以在您的電腦上練習相同的課程,以改善程式碼撰寫技巧。After you finish the interactive lessons, you can improve your coding skills by practicing the same lessons on your machine.
  • 教學課程Tutorials

    • 本節提供各種不同的完整案例,其中包括描述和程式碼。This section provides a variety of end-to-end scenarios, including descriptions and code. 課程將說明為什麼會偏好使用某些慣用語、在不同的情況下最適合使用哪些 C# 功能,以及通用工作的參考實作。It shows why certain idioms are preferred, what C# features work best in different situations, and reference implementations for common tasks. 如果您學習的最佳方式是透過查看程式碼,請從本節開始。If you learn best by seeing code, start in this section. 您也可以下載所有的程式碼,並在您自己的環境中進行實驗。You can also download all the code and experiment in your own environment.
  • C# 的教學課程Tour of C#

    • 本節提供了此語言的摡觀。This section provides an overview of the language. 課程涵蓋組成 C# 程式的元素以及此語言的功能。It covers the elements that make up C# programs and the capabilities of the language. 課程將顯示 C# 所有語法元素的小型範例,以及對於主要 C# 語言主題的討論。It shows small samples of all the syntax elements of C# and discussions of the major C# language topics.
  • C# 的新功能What's new in C#

    • 提供在最新的語言版本中加入的新功能和歷程記錄的 C# 語言的概觀。Provides overviews of new features added in the latest language releases and of the history of the C# language.
  • C# 程式設計指南C# Programming Guide

    • 提供如何使用 C# 語言建構的詳細資訊和實際範例。Provides information and practical examples about how to use C# language constructs.
  • 逐步解說Walkthroughs

    • 提供使用 C# 之程式設計逐步解說及個別逐步解說之簡短描述的連結。Provides links to programming walkthroughs that use C# and a brief description of each walkthrough.
  • 語言參考Language Reference

    • 本節包含有關 C# 語言的參考資料。This section contains the reference material on the C# language. 此教材協助您了解 C# 的語法和語意。This material helps you understand the syntax and semantics of C#. 它同時提供型別、運算子、屬性、前置處理器指示詞、編譯器參數、編譯器錯誤和編譯器警告的參考資訊。It also includes reference material on types, operators, attributes, preprocessor directives, compiler switches, compiler errors, and compiler warnings.
  • C# 語言規格C# Language Specification

    • 最新 C# 語言規格版本的連結。Links to the latest versions of the C# language specification.

另請參閱See also

Visual C# 和 Visual Basic 使用者入門Getting Started with Visual C# and Visual Basic
.NET 程式開發.NET Development
C# 範例C# Samples