500 Important C# and.NET interview questions asked to C# developers

Start from the beginning
                                        

What are the generic equivalent for array list, stack, queues and hashtable?

What is the use of IEnumerable, ICollection, Ilist and IDictionary?

What is code access security (CAS)?

So how does CAS actually work?

Is CAS supported in .NET 4.0?

What is sandboxing?

How can we create a windows service using .NET?

What is serialization and deserialization in .NET?

Can you mention some scenarios where we can use serialization?

When should we use binary serialization as compared to XML serialization?

Chapter 3: OOPS

What is Object Oriented Programming?

What is a Class and object?

What are different properties provided by Object-oriented systems?

How can we implement encapsulation in .NET?

What’s the difference between abstraction and encapsulation?

How is inheritance implemented in .NET?

What are the two different types of polymorphism?

How can we implement static polymorphism?

How can we implement dynamic polymorphism?

What is the difference overriding and overloading?

What is operator overloading?

What are abstract classes?

What are abstract methods?

What is an Interface?

Do interface have accessibility modifier.

Can we create an object of abstract class or an interface?

What is difference between abstract classes and interfaces?

An abstract with only abstract method, how is it different from interfaces?

If we want to update interface with new methods, what is the best practice?

What is a delegate?

How can we create a delegate?

What is a multicast delegate?

What are Events?

What is the difference between delegate and events?

Do events have return type?

Can events have access modifiers?

Can we have shared events?

What is shadowing?

What is the difference between Shadowing and Overriding?

If we inherit a class do the private variables also get inherited?

How can we stop the class from further inheriting?

What is the use of “Must inherit” keyword in VB.NET?

What are similarities between Class and structure?

What is the difference between Class and structure’s?

What does virtual keyword mean?

What are shared (VB.NET)/Static(C#) variables?

What is ENUM?

500 Important C# and.NET interview questions asked to C# developersWhere stories live. Discover now