C sharp (C#)¶
C sharp (C#) is a general-purpose, multi-paradigm language developed by Microsoft. Statically typed, memory-managed, object-oriented at its core with strong functional and asynchronous features layered on top. Runs on .NET — cross-platform, open-source, and production-proven in games (Unity), desktop (.NET, MAUI, WPF), web (ASP.NET Core), mobile (Xamarin / MAUI), cloud (Azure), and embedded.
Builds directly on the algorithms, flowcharts, and pseudocode from Computational Thinking.
Status¶
Under construction. Outline below; content coming soon.
Who this is for¶
Students who finished Computational Thinking (or equivalent) and are ready to turn paper algorithms into running software using C#.
Planned modules¶
- 01 · Setup — Visual Studio install, first C# project, hello world.
- 02 · Program structure & syntax — namespaces, classes,
Main, statements, comments. - 03 · Data & variables — primitive types, literals, naming conventions.
- 04 · Type conversion — implicit, explicit, parsing from input.
- 05 · Operators — arithmetic, comparison, logical, assignment, string concatenation.
- 06 · Control flow —
if/else,switch,while,do-while,for,foreach. - 07 · Functions & parameters — defining methods, return types,
ref/out, overloading. - 08 · Arrays & collections — 1D arrays, 2D arrays,
List<T>,Dictionary<TKey,TValue>. - 09 · Structs & enumerations — value types,
enum, when to use each. - 10 · Collections of structs — combining the above for small real-world data models.
Prerequisites¶
- Computational Thinking — finished, or prior equivalent.
- A computer with Visual Studio (Community is free) or JetBrains Rider (free for students).
Why C¶
- Strong type system — errors caught at compile time.
- First-class tooling (Visual Studio, Rider).
- Ecosystem: desktop (.NET / WPF / MAUI), games (Unity), web (ASP.NET), mobile.
- Excellent bridge to Java / Kotlin / Swift syntax families later.