Chuyển đến nội dung chính

Trình duyệt này không còn được hỗ trợ nữa.

Hãy nâng cấp lên Microsoft Edge để tận dụng các tính năng mới nhất, bản cập nhật bảo mật và hỗ trợ kỹ thuật.

Tải xuống Microsoft Edge Xem thêm thông tin về Internet Explorer và Microsoft Edge
Đọc bằng tiếng Anh Chỉnh sửa

Chia sẻ qua

Facebook x.com LinkedIn Email

C# documentation

Learn how to write any application using the C# programming language.

Choose your path

Get started

  • New to programming? Start with beginner tutorials
  • In-browser tutorial: Hello world
  • C# beginner video series

Overview

  • Experienced developer? A tour of C#
  • Learn C# for Java developers
  • Learn C# for JavaScript developers
  • Learn C# for Python developers

Training

  • Foundational C# Certification
  • What you can build with C#

Fundamentals

Overview

  • A tour of C#
  • Inside a C# program
  • C# highlights video series
  • C# language strategy

Concept

  • Type system
  • Object oriented programming
  • Functional techniques
  • Exceptions
  • Coding style

Tutorial

  • Build file-based apps
  • Intro to classes
  • Object oriented C#
  • Converting types
  • Pattern matching
  • Use LINQ to query data

What's new

What's new

  • What's new in C# 14
  • What's new in C# 13
  • What's new in C# 12

Tutorial

  • Explore record types
  • Explore top level statements

Reference

  • Breaking changes in the C# compiler
  • Version compatibility

Key concepts

Overview

  • What you can build with C#
  • C# language strategy
  • Programming concepts

Concept

  • Language Integrated Query (LINQ)
  • Asynchronous programming

Training

  • Learn C# for Java developers
  • Learn C# for JavaScript developers
  • Learn C# for Python developers

C# language reference

Reference

  • Language reference
  • Keywords
  • Operators and expressions
  • Tokens

Stay in touch

Reference

  • C# on Q&A
  • .NET developer community
  • C# on Stack Overflow
  • C# on Discord
  • YouTube
vi-vn
Lựa chọn quyền riêng tư của bạn
  • Tuyên bố miễn trừ trách nhiệm về AI
  • Các phiên bản trước
  • Blog
  • Đóng góp
  • Quyền riêng tư
  • Consumer Health Privacy
  • Điều khoản sử dụng
  • Thương hiệu
  • © Microsoft 2026