- Executors
-
Learn
Learn Python Runnable examples, NumPy, pandas, and more Learn AINeural networks, ML and LLMs from scratch Learn C & C++ Pointers, memory, STL, and modern C++ Learn C#C# basics, OOP, LINQ, async, and .NET exercises Python Algorithms Search, sorting, recursion, and visualizers O(n) C & C++ Algorithms Compare algorithms implemented in C and C++
- ChallengesNew
C# fundamentals
From your first program to operators, input, conditions, loops, strings, arrays, collections, methods and exceptions, with a challenge after each topic.
Start the path →1 Getting started 4 lessons
- Lesson 1 challenge Hello World and Program Structure Understand the entry point and the structure of a C# console program.
- Lesson 2 challenges Types, Variables, and Constants Declare strongly typed values and constants in C#.
- Lesson 2 challenges Operators and Math Use arithmetic, assignment, comparison and logical operators in C#, plus the Math class.
- Lesson 2 challenges Reading Console Input Read what the user types with Console.ReadLine and convert it safely with int.TryParse.
2 Making decisions 2 lessons
- Lesson 2 challenges Conditions and Switch Expressions Choose behavior with if statements and concise switch expressions.
- Lesson 1 challenge Switch Expression Calculator Build a calculator with a C# switch expression.
3 Loops 1 lesson
4 Strings and text 2 lessons
- Lesson 3 challenges Strings and Interpolation Compose and inspect text with modern C# string features.
- Lesson 1 challenge Invoice and Numeric Formatting Format aligned currency output with interpolation.
5 Collections 3 lessons
- Lesson 3 challenges Arrays Create, read, change, loop over and sort C# arrays, including 2D arrays.
- Lesson 2 challenges Lists and Dictionaries Store ordered values and keyed data with generic collections.
- Lesson 2 challenges Word Frequency Dictionary Count normalized words with Dictionary<TKey,TValue>.
6 Functions 2 lessons
- Lesson 2 challenges Methods, Parameters, and Tuples Define reusable methods with named results and multiple return values.
- Lesson 2 challenges Return Statistics with Tuples Return several named results without creating a class.
7 Errors and files 2 lessons
- Lesson 2 challenges Exception Handling Validate operations and recover from expected failures.
- Lesson 1 challenge Validate Input with TryParse Parse user input without using exceptions for ordinary validation.