.NET Interview Questions

Last Updated: Nov 10, 2023

Table Of Contents

.NET Interview Questions For Freshers

What is .NET?

Summary:

Detailed Answer:

What is the difference between a class and an object in .NET?

Summary:

Detailed Answer:

What is a namespace in .NET?

Summary:

Detailed Answer:

What are the advantages of .NET framework?

Summary:

Detailed Answer:

What is the difference between boxing and unboxing in .NET?

Summary:

Detailed Answer:

Explain the concept of garbage collection in .NET.

Summary:

Detailed Answer:

What is the purpose of the using statement in C#?

Summary:

Detailed Answer:

What is an assembly in .NET?

Summary:

Detailed Answer:

What is the Global Assembly Cache (GAC)?

Summary:

Detailed Answer:

Explain the difference between value types and reference types in .NET.

Summary:

Detailed Answer:

What are the different types of .NET framework?

Summary:

Detailed Answer:

What is the purpose of the Common Language Runtime (CLR) in .NET?

Summary:

Detailed Answer:

.NET Intermediate Interview Questions

What are the different types of security available in .NET?

Summary:

Detailed Answer:

What is the role of the Global Assembly Cache (GAC) in .NET?

Summary:

Detailed Answer:

What is the purpose of the 'finally' block in a try-catch-finally statement?

Summary:

Detailed Answer:

Explain the concept of polymorphism in .NET.

Summary:

Detailed Answer:

What is the difference between value types and reference types in terms of memory allocation?

Summary:

Detailed Answer:

What is the purpose of the 'as' operator in C#?

Summary:

Detailed Answer:

What is the difference between managed code and unmanaged code in .NET?

Summary:

Detailed Answer:

What is the purpose of assemblies in .NET?

Summary:

Detailed Answer:

Explain the concept of delegates in .NET.

Summary:

Detailed Answer:

What is the difference between abstract classes and interfaces in .NET?

Summary:

Detailed Answer:

What is the role of the JIT compiler in .NET?

Summary:

Detailed Answer:

.NET Interview Questions For Experienced

What is the purpose of the 'yield' keyword in C#?

Summary:

Detailed Answer:

What is the role of the Garbage Collector in .NET?

Summary:

Detailed Answer:

Explain the concept of reflection in .NET.

Summary:

Detailed Answer:

Describe the different types of inheritance in .NET.

Summary:

Detailed Answer:

What is the difference between 'throw' and 'throw ex' in C#?

Summary:

Detailed Answer:

Explain the concept of generics in .NET.

Summary:

Detailed Answer:

How does the .NET Memory Manager handle memory fragmentation?

Summary:

Detailed Answer:

What are the different types of serialization in .NET?

Summary:

Detailed Answer:

What are partial classes in .NET and when should they be used?

Summary:

Detailed Answer:

What is the purpose of the 'volatile' keyword in .NET?

Summary:

Detailed Answer: