Backend 路 Intern to senior

C# Interview Questions and Answers

C# interviews usually start with language fundamentals (types, memory, OOP) and then move into LINQ, asynchronous programming and ASP.NET Core. Mid-level and senior candidates are expected to explain how the runtime behaves: garbage collection, dependency lifetimes and what really happens inside an await.

Download C# PDF12 questions

7 of 12 questions match

Clear filters
  • C#Easy

    What is the difference between string and StringBuilder in C#?

    A string is immutable, so every change creates a new string object, while StringBuilder is a mutable buffer that modifies its contents in place, making it much faster for repeated concatenation.

    Intern 路 Junior 路 Performance
  • C#Easy

    What is the difference between const and readonly in C#?

    A const is a compile-time constant that must be assigned where it is declared, while a readonly field can be assigned at declaration or in the constructor, so its value can be decided at runtime.

    Junior 路 Mid-level 路 Programming Fundamentals
  • C#Medium

    What is LINQ in C# and what is deferred execution?

    LINQ (Language Integrated Query) lets you query collections, databases and XML with a consistent syntax, and deferred execution means a query does not run when you define it but when you enumerate the results.

    Junior 路 Mid-level 路 Functions & Scope