Skip to content

Quiz · C#

C# Basics Quiz: Variables, Types & Operators

A C# quiz for beginners: Console.WriteLine(), value and reference types, var, string interpolation, nullable types and ??, const and casting.

Questions
15
Difficulty
Easy
Time
~8min
Per question
15sec

What it covers

C#

A topic in Programming & Coding.

C# quizzes on value and reference types, predicting C# code output, and intermediate LINQ, object-oriented programming, records and async/await.

Before you start

How it works

  1. 1

    The clock

    You have 15 seconds for each question. When time runs out, the question counts as wrong.

  2. 2

    Your answer

    Your first choice is the one that counts. It is checked straight away, with an explanation where there is one.

  3. 3

    The score

    At the end you see your score and can go back through every question and its answer.

  4. 4

    The XP

    XP scales with your score. Replays earn XP only when you beat your previous best.

From players

Ratings

Play next

All of C#

Programming & Coding · C#

C# Code Output Quiz: Predict the Result

C# output questions: predict what code prints, from lists, dictionaries and structs versus classes to switch expressions, banker's rounding and overflow.

Medium difficulty15 questions~10 min
+120 XPPlay

Programming & Coding · C#

C# Intermediate Quiz: LINQ, OOP & Async Programming

A C# LINQ quiz with OOP and async: queries and deferred execution, properties and init, virtual and sealed, generics, Task, async/await and records.

Hard difficulty15 questions~12 min
+150 XPPlay