C# Interview Questions and Answers

C# language and CLR interview questions — value vs reference types, generics, delegates, LINQ, async/await, memory and the type system.

C#
86Questions
15Topics
Basic to AdvancedDifficulty
Fresher to 5+ YrsExperience
All C# Questions (86)

    About these C# questions

    C# questions are the backbone of almost every .NET interview. Interviewers use them to check that you understand what the code you write actually does at runtime — how the CLR lays out memory, when the garbage collector runs, why struct and class behave differently, and how features like generics, delegates, iterators and async/await are implemented rather than just used.

    The questions here are ordered from language fundamentals toward runtime and concurrency topics. For 3–5 year roles, expect deeper follow-ups on the difference between IEnumerable<T> and IQueryable<T>, closure capture, Task scheduling and how using/IDisposable interacts with the GC.