InterviewPitch

Land the job you want — prepare
with Real interviews Q&A

Curated interview questions, company-wise guides and coding rounds. Practice mock interviews, improve with feedback, and track your progress.

Q&A
Top curated interview packs
Company-wise & role-wise packs, quality assured.
Mock interview
AI scoring
Coding rounds
Top 10 sets
Beginner
1. What is C#?
C# is an object-oriented programming language developed by Microsoft, used to build web, desktop, cloud, and enterprise applications using .NET.
Beginner
2. What are the main features of C#?
Strong typing, garbage collection, LINQ, async/await, OOP support, and platform independence via .NET.
Beginner
3. What are OOP principles?
Encapsulation, Inheritance, Polymorphism, Abstraction.
Beginner
4. Difference between value type and reference type?
Value types store data directly (int, struct). Reference types store memory references (class, array).
Beginner
5. What is .NET?
.NET is a developer platform providing runtime (CLR), libraries, and tools to build applications.
Intermediate
16. Difference between abstract class and interface?
Abstract class can have implementation. Interface defines contracts and supports multiple inheritance.
Intermediate
17. What is Garbage Collection?
Automatic memory management handled by CLR. Objects are cleaned using Generations 0, 1, and 2.
Intermediate
18. What is LINQ?
LINQ allows querying collections using SQL-like syntax:
var result = list.Where(x => x > 10).ToList();
Intermediate
19. What is async/await?
Used for asynchronous programming to avoid blocking threads.
Intermediate
20. What is dependency injection?
A design pattern where objects receive dependencies instead of creating them.
Advanced
31. Explain IDisposable and using statement
IDisposable is used to free unmanaged resources.
using (var reader = new StreamReader("file.txt")) { /* code */ }
Advanced
32. What is deadlock?
A situation where two threads wait forever for each other’s resources.
Advanced
33. What is Task vs Thread?
Thread is low-level OS concept. Task is higher-level abstraction managed by thread pool.
Coding Round
41. Reverse a string in C#
string s = "hello";
char[] c = s.ToCharArray();
Array.Reverse(c);
string result = new string(c);
Coding Round
42. Find duplicate elements in array
var duplicates = arr.GroupBy(x => x).Where(g => g.Count() > 1).Select(g => g.Key);
Coding Round
43. Fibonacci series
int a = 0, b = 1;
for(int i=0; i<n; i++) { Console.Write(a + " "); int temp = a; a = b; b = temp + b; }
Coding Round
44. Check palindrome string
string reverse = new string(s.Reverse().ToArray());
bool isPal = s == reverse;
Coding Round
47. Count word frequency
var freq = words.GroupBy(w => w).ToDictionary(g => g.Key, g => g.Count());
Coding Round
49. Remove duplicates from list
var unique = list.Distinct().ToList();