C# Curriculum
Before you start: complete Unit P: Computing Foundations Primer. It explains the language-neutral vocabulary and concepts used in every language track, using non-visual examples.
C# is a modern managed language for .NET services, web apps, desktop software, cloud systems, and Unity games.
Course structure
A complete introductory sequence aligned to Python Units 0–11: setup; foundations; numeric computation; control flow; data structures; input and iteration; functions; object-oriented design; files and exceptions; testing and data analysis; projects; and capstone. The same core problem contexts recur across languages so students focus on syntax, types, runtime behavior, libraries, and idioms.
Environment
Install the .NET 10 SDK (C# 14 toolchain); create with dotnet new console; run with dotnet run.
Complete the shared IDE setup lesson and terminal prerequisite. The course supports keyboard-first work with screen readers, braille displays, magnification, or other access technology.
Lesson structure and example verification
The complete course has four structured Unit 0 setup lessons and 53 numbered lessons across Units 1–11. The numbered lessons use the shared Python course datasets and problem contexts, with C#-specific language features and .NET APIs. Each numbered lesson includes three targeted common mistakes, four practice activities, and five mastery criteria.
The automated check builds and executes every fenced C# example as a separate .NET 10 console program with nullable analysis enabled and compiler warnings treated as errors. GitHub Actions run 41320247156 passed with .NET SDK 10.0.403; all 53 examples compiled, linked, and exited successfully. This is a smoke-execution check, not full behavioral validation: expected-output assertions, broader invalid-input/file fixtures, and the complete capstone application still require testing. Hands-on accessibility validation remains separate.
GUI, visualization, and workbench accessibility
See the shared GUI, visualization, and workbench accessibility reference for screen-reader support by toolkit, platform-specific activation settings, recommended alternatives, and interfaces that must not be required without an equivalent accessible route.
AI Policy
AI may be used only for personal conceptual understanding and reinforcement. It must not write, complete, autocomplete, repair, or generate course code or assessment solutions.
Recommended introductory books
- Whitaker, R. B. The C# Player’s Guide, 5th edition. RB Whitaker, 2021. A challenge-driven introduction to programming fundamentals, methods, types, object-oriented programming, and .NET concepts. Author’s book page.
- Gaddis, Tony. Starting Out with Visual C#, 5th edition. Pearson. A traditional introductory textbook for readers with no prior programming experience; editions may target older versions of C# and Visual Studio. Pearson catalog.
Suggested use: The C# Player’s Guide is the primary language companion for this course. Check the C# language version and .NET target in any book against the curriculum’s current SDK baseline. Older Visual Studio setup procedures should not override the repository’s IDE guidance.