All C# quizzes
Intermediate30 questions60 minutes

C# Intermediate Quiz

Explore LINQ, delegates, events, generics, async/await, and collections

Start the quiz

Sample questions from this quiz

A preview of the style and depth. Try each one, then reveal the answer — or skip straight to the timed quiz.

1. What is LINQ?

  • Database query
  • Language Integrated Query for querying collections
  • Data access
  • Query language
Show answer

Answer: Language Integrated Query for querying collections. LINQ (Language Integrated Query) provides query capabilities for collections. Supports query syntax and method syntax. Works with IEnumerable and IQueryable.

2. What is the difference between IEnumerable and IQueryable?

  • IEnumerable in-memory, IQueryable for databases
  • Performance difference
  • No difference
  • Different interfaces
Show answer

Answer: IEnumerable in-memory, IQueryable for databases. IEnumerable executes queries in-memory (LINQ to Objects). IQueryable translates to database queries (LINQ to SQL/EF). IQueryable supports deferred execution with expression trees.

3. What is a delegate?

  • Callback
  • Method reference
  • Function variable
  • Type-safe function pointer
Show answer

Answer: Type-safe function pointer. Delegate is type-safe function pointer. References methods with matching signature. Enables callbacks, events, method passing. Foundation for events and lambdas.

Frequently asked questions

How many questions are in this C# quiz?+

30 questions, with a 60-minute time limit. Every question includes a written explanation of the correct answer.

Is this C# quiz free?+

Yes. Every quiz on CodexQuizz is free and needs no account. You only enter a name if you choose to post your score to the leaderboard.

What level is the intermediate quiz aimed at?+

Explore LINQ, delegates, events, generics, async/await, and collections

Can I use this to prepare for a C# interview?+

Yes. The questions cover the topics that come up in C# technical screens, and the explanations are written so that a wrong answer still teaches you the underlying concept.

Ready to test your C#?

30 questions, 60 minutes. Free, no sign-up.

Start now