Bỏ qua để đến nội dung

Nguồn tham khảo chính thức

Trang này gom nguồn chính thức để tra sâu sau khi xem cheat sheet. Ưu tiên Microsoft Learn cho C#/.NET/ASP.NET Core/EF Core và Unity Scripting API cho Unity.

Chủ đềNguồn
Type system, value/reference typeThe C# type system
Keyword và contextual keywordC# keywords
Operators, precedenceC# operators and expressions
Selection statementsif and switch statements
Iteration statementsfor, foreach, do, while
MethodsMethods - C# Programming Guide
Chủ đềNguồn
stringString class
DateTimeDateTime struct
Collection genericSystem.Collections.Generic
Exception handlingException-handling statements
LINQLanguage Integrated Query
Async scenariosAsynchronous programming scenarios
Chủ đềNguồn
.NET CLI.NET CLI overview
Minimal APIMinimal APIs overview
MiddlewareASP.NET Core Middleware
Dependency InjectionDependency injection in ASP.NET Core
EF Core overviewOverview of Entity Framework Core
EF Core migrationsManaging migrations
Chủ đềNguồn
MonoBehaviourMonoBehaviour
StartMonoBehaviour.Start
UpdateMonoBehaviour.Update
CoroutineStartCoroutine
RigidbodyRigidbody
Object.InstantiateObject.Instantiate
Object.DestroyObject.Destroy
  • Xem cheat sheet để nhớ cú pháp nhanh.
  • Mở tài liệu chính thức khi cần overload, version, behavior chi tiết.
  • Ưu tiên trang API khi cần biết method trả về gì, nhận tham số nào.
  • Ưu tiên language reference khi cần hiểu cú pháp, precedence, compiler rule.
  • Copy code từ nhiều version .NET/Unity khác nhau mà không kiểm tra target version.
  • Đọc blog cũ nhưng không đối chiếu Microsoft Learn/Unity docs.
  • Nhầm API .NET với API Unity cùng tên.

official docs, Microsoft Learn, Unity Scripting API, C# reference, .NET docs, ASP.NET Core docs, EF Core docs, tài liệu chính thức