← All paths
C#Beginner

C# (.NET)

Learn C# from scratch: Microsoft''s language for desktop, web (ASP.NET), games (Unity) and enterprise backends. Real executable code, compiled on the server.

18 chapters72 lessons106 challenges

Course curriculum

Chapter 1: Introduction to C#

  • ▸C# and .NET
  • ▸Program structure
  • ▸Write, WriteLine and comments
  • ▸Compile and run

Chapter 2: Variables and types

  • ▸Basic types
  • ▸var and type inference
  • ▸Constants and conversions
  • ▸Operations between numbers

Chapter 3: Operators and interpolation

  • ▸Arithmetic operators
  • ▸Comparison and logical operators
  • ▸String interpolation
  • ▸Reading input

Chapter 4: Control flow

  • ▸if / else
  • ▸switch
  • ▸The ternary operator
  • ▸Combined conditions

Chapter 5: Loops

  • ▸The for loop
  • ▸while and do-while
  • ▸foreach
  • ▸break and continue

Chapter 6: Methods

  • ▸Defining a method
  • ▸Parameters and return
  • ▸Overloading
  • ▸Optional and out parameters

Chapter 7: Arrays and collections

  • ▸Arrays
  • ▸List<T>
  • ▸Dictionary<K,V>
  • ▸Iterating collections

Chapter 8: Strings

  • ▸String methods
  • ▸Transforming strings
  • ▸StringBuilder
  • ▸Immutability

Chapter 9: Classes and objects

  • ▸Defining a class
  • ▸Properties
  • ▸Constructors
  • ▸Instance methods

Chapter 10: Encapsulation

  • ▸Access modifiers
  • ▸Properties with logic
  • ▸private set and readonly
  • ▸Why encapsulate

Chapter 11: Inheritance and polymorphism

  • ▸Inheritance
  • ▸base and constructors
  • ▸virtual and override
  • ▸Abstract classes

Chapter 12: Interfaces

  • ▸What an interface is
  • ▸Polymorphism with interfaces
  • ▸Implementing multiple interfaces
  • ▸Interface or abstract class?

Chapter 13: Generics

  • ▸What generics are
  • ▸Generic classes
  • ▸Generic methods
  • ▸Multiple type parameters

Chapter 14: Exception handling

  • ▸try / catch
  • ▸finally
  • ▸throw
  • ▸Good practices

Chapter 15: LINQ

  • ▸What LINQ is
  • ▸Where and Select
  • ▸Aggregating and ordering
  • ▸Chaining queries

Chapter 16: Delegates and events

  • ▸Delegates
  • ▸Func and Action
  • ▸Lambdas
  • ▸Events

Chapter 17: Async and await

  • ▸Asynchronous programming
  • ▸Task and Task<T>
  • ▸await
  • ▸Async best practices

Chapter 18: Modern C# and interview

  • ▸Tuples and deconstruction
  • ▸Pattern matching
  • ▸Records and nullable
  • ▸Interview ready

Ready to level up?

Create a free account and start now: earn XP on every challenge and climb the leaderboard.

C# (.NET) — LevelUpCode