Learn C# — Basic
Learn C# fundamentals: variables, conditions, loops, collections, methods and simple object models. Process fixed data and build correct console reports.
COURSE OVERVIEWREADY
Lessons: 48
Quizzes: 8
All steps: 56
$Ready to start
What you will learn
- Use variables, operators, conditions and loops to process data.
- Work with arrays, lists, dictionaries and basic LINQ operations.
- Create methods, classes, properties and constructors, and understand copying values and references.
- Validate data, handle exceptions, and format numbers and time in predictable reports.
SYLLABUS / 56
Course curriculum
Work through the curriculum step by step. Completed stages are marked, and you can open the next available stage.
48 lessons8 quizzes56 steps total
- 01LESSONLESSON 1: First program and Console.WriteLine (deterministic output)Available now
- 02LESSONLESSON 2: Variables and simple types (int, double, bool, char)Locked
- 03LESSONLESSON 3: Literals, conversions, and built-in castsLocked
- 04LESSONLESSON 4: Arithmetic and assignment operatorsLocked
- 05LESSONLESSON 5: Comparison and logical operatorsLocked
- 06LESSONLESSON 6: The if statement — simple conditionsLocked
- 01QUIZQuiz 1: applying knowledge from lessons 1–6Locked
- 07LESSONLESSON 7: if/else if/else — multiple casesLocked
- 08LESSONLESSON 8: Switch (classic) — basicsLocked
- 09LESSONLESSON 9: switch expression — modern syntax with simple examplesLocked
- 10LESSONLESSON 10: The while loopLocked
- 11LESSONLESSON 11: The do…while loopLocked
- 12LESSONLESSON 12: The for loopLocked
- 02QUIZQuiz 2: applying knowledge from lessons 7–12Locked
- 13LESSONLESSON 13: foreach and iterating over collectionsLocked
- 14LESSONLESSON 14: Nested loops and flow control (break, continue)Locked
- 15LESSONLESSON 15: One-dimensional arrays — declaration, initialization, readingLocked
- 16LESSONLESSON 16: Iterating over an array and basic operations (min, max, sum)Locked
- 17LESSONLESSON 17: Modifying array elements and simple searchingLocked
- 18LESSONLESSON 18: Multidimensional (2D) arrays — iteration and applicationsLocked
- 03QUIZQuiz 3: applying knowledge from lessons 13–18Locked
- 19LESSONLESSON 19: Introduction to List<T> — adding/removing/indexesLocked
- 20LESSONLESSON 20: Introduction to Dictionary<TKey,TValue> — key→value mappingLocked
- 21LESSONLESSON 21: The string type — basics, concatenation, interpolationLocked
- 22LESSONLESSON 22: String methods (Trim, ToUpper, Contains)Locked
- 23LESSONLESSON 23: String operations: Substring, Replace, SplitLocked
- 24LESSONLESSON 24: char[] and the differences between string and a character arrayLocked
- 04QUIZQuiz 4: applying knowledge from lessons 19–24Locked
- 25LESSONLESSON 25: Methods — void and returning values (return)Locked
- 26LESSONLESSON 26: Parameters and method overloadingLocked
- 27LESSONLESSON 27: Parameter modifiers ref, out, in: when and howLocked
- 28LESSONLESSON 28: Variable scope and object lifetimeLocked
- 29LESSONLESSON 29: Static methods and static fields: basicsLocked
- 30LESSONLESSON 30: Classes: definition, objects, referencesLocked
- 05QUIZQuiz 5: applying knowledge from lessons 25–30Locked
- 31LESSONLESSON 31: Fields and encapsulation — why hide stateLocked
- 32LESSONLESSON 32: Properties (get/set) and auto-properties — C# fundamentalsLocked
- 33LESSONLESSON 33: Instance methods and the this keywordLocked
- 34LESSONLESSON 34: Constructors and object initializationLocked
- 35LESSONLESSON 35: Object and collection initializersLocked
- 36LESSONLESSON 36: Structs (struct) vs classes — semantic differencesLocked
- 06QUIZQuiz 6: applying knowledge from lessons 31–36Locked
- 37LESSONLESSON 37: enum — enumeration types and casting to numbersLocked
- 38LESSONLESSON 38: Tuples ((T1, T2)) and deconstructionLocked
- 39LESSONLESSON 39: Exception handling: try/catch — basicsLocked
- 40LESSONLESSON 40: finally and typical exceptions in beginner codeLocked
- 41LESSONLESSON 41: Input data validation without exceptions (guard clauses)Locked
- 42LESSONLESSON 42: Formatting numbers and text (ToString, interpolation)Locked
- 07QUIZQuiz 7: applying knowledge from lessons 37–42Locked
- 43LESSONLESSON 43: DateTime — fixed dates and times in UTCLocked
- 44LESSONLESSON 44: TimeSpan — time differencesLocked
- 45LESSONLESSON 45: A simple introduction to LINQ: Where, Select, OrderBy on in-memory listsLocked
- 46LESSONLESSON 46: Designing simple data models (small domain classes)Locked
- 47LESSONLESSON 47: Working with arrays and lists of objects (filtering, searching)Locked
- 48LESSONLESSON 48: Mini-refactoring: splitting code into methods and readabilityLocked
- 08QUIZQuiz 8: applying knowledge from lessons 43–48Locked
- +EXAMConfirm your skills with an examPreparing with this course is optional. You can choose a certification exam for this language and level without completing the course or quizzes. Check your account access and confirm exam authorization.Other status