Learn C#

C# Quiz

Overall Progress 0%

Complete quizzes to earn achievements

Before you start

How this quiz works

Four things worth knowing before your first attempt.

1

Pick a topic

Choose a topic grouped by difficulty: Beginner, Intermediate, or Expert.

2

Learn or Quiz

Each topic has a Learn section with interactive exercises, or you can jump straight into the quiz.

3

Navigate freely

Select an option, drag lines into order, type an answer, or run code, then use Previous / Next to move around. The bar at the top tracks your progress.

4

Timer & results

A countdown is on by default (⚙️ Settings to adjust or turn it off). Finish or run out of time and you'll see your score plus a full review with explanations.

Choose a topic to begin

Beginner

In

C# Intro

What C# is and what it can do

Sy

C# Syntax

Basic structure and statements

Ou

C# Output

Printing text to the console

Co

C# Comments

Single and multi-line comments

Va

C# Variables

Declaring and using variables

DT

C# Data Types

int, double, bool, string, char

TC

C# Type Casting

Implicit and explicit conversion

UI

C# User Input

Reading input from the console

Op

C# Operators

Arithmetic, logical, comparison

Ma

C# Math

Math methods and properties

St

C# Strings

String methods and properties

Bo

C# Booleans

True/false logic values

If

C# If...Else

Conditional statements

Sw

C# Switch

Switch case statements

Wh

C# While Loop

Repeat while condition is true

Fo

C# For Loop

For and foreach loops

Br

C# Break/Continue

Control loop execution

Ar

C# Arrays

Store multiple values

Me

C# Methods

Reusable blocks of code

MP

C# Method Parameters

Parameters and return values

Intermediate

MA

Multidimensional Arrays

2D and 3D arrays

MO

C# Method Overloading

Same name, different parameters

OO

C# OOP

Object-oriented programming

Cl

C# Classes/Objects

Creating classes and objects

CM

C# Class Members

Fields, methods, properties

Cn

C# Constructors

Special class initialization

AM

C# Access Modifiers

public, private, protected

Pr

C# Properties

get and set accessors

In

C# Inheritance

Reuse code from parent classes

Po

C# Polymorphism

Many forms, one interface

Co

C# Collections

List, Dictionary, and other generic collections

Ge

C# Generics

Generic types and methods for type-safe code reuse

Expert

Ab

C# Abstraction

Hide implementation details

If

C# Interface

Define contracts for classes

En

C# Enums

Enumerations for named constants

Fi

C# Files

Reading and writing files

Ex

C# Exceptions

Try, catch, finally blocks

Li

C# LINQ

Query collections with LINQ syntax and methods

As

C# Async/Await

Asynchronous programming with async and await

De

C# Delegates & Events

Delegate types, lambdas, and event handling