In this lab we have covered 30 Important .NET C# Interview questions and Answer:-
-
Question 1 :- Explain difference between .NET and C# ?
-
Question 2 :- .NET Framework vs .NET Core vs .NET 5.0
-
Question 3 :- What is IL ( Intermediate Language) Code ?
-
Question 4 :- What is the use of JIT ( Just in time compiler) ?
-
Question 5 :- Is it possible to view IL code ?
-
Question 6 :- What is the benefit of compiling in to IL code ?
-
Question 7 :- Does .NET support multiple programming languages ?
-
Question 8 :- What is CLR ( Common Language Runtime) ?
-
Question 9 :- What is managed and unmanaged code ?
-
Question 10 :- Explain the importance of Garbage collector ?
-
Question 11 :- Can garbage collector claim unmanaged objects ?
-
Question 12 :- What is the importance of CTS ?
-
Question 13 :- Explain CLS ?
-
Question 14 :- Difference between Stack vs Heap ?
-
Question 15 :- What are Value types & Reference types?
-
Question 16 :- Explain boxing and unboxing ?
-
Question 17 :- What is consequence of boxing and unboxing ?
-
Question 18 :- Explain casting,implicit casting and explicit casting ?
-
Question 19 :- What can happen during explicit casting ?
-
Question 20 :- Differentiate between Array and ArrayList ?
-
Question 21 :- Whose performance is better array or arraylist ?
-
Question 22 :- What are generic collections ?
-
Question 23 :- What are threads (Multithreading)?
-
Question 24 :- How are threads different from TPL ?
-
Question 25 :- How do we handle exceptions in C#(try/catch)?
-
Question 26 :- What is the need of finally?
-
Question 27 :- Why do we need the out keyword ?
-
Question 28 :- What is the need of Delegates ?
-
Question 29 :- What are events ?
-
Question 30 :- Whats the difference between Abstract class and interface ?

