How to prepare for c# and .NETinterviews?

Start from the beginning
                                        

What is concept of Boxing and Unboxing?

How performance is affected due to boxing and unboxing?

How can we avoid boxing and unboxing?

How to prevent my .NET DLL to be decompiled?

What is the difference between Convert.toString and .toString () method?

How can we handle exceptions in .NET?

How can I know from which source the exception occurred?

What if we do not catch the exception?

What are system level exceptions and application level exceptions?

Can two catch blocks be executed?

What are different types of collections in .NET?

What is the difference between arraylist and list?

Are Arraylist faster or Arrays?

What are hashtable collections?

What are Queues and stack collection?

Can you explain generics in .NET?

Can you explain the concept of generic collection?

What is the difference between dictionary and hashtable?

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?

Can you explain the concept of “Short Circuiting”?

What is the difference between “Typeof” and “GetType” ?

Will the following c# code compile?

Section 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.

How to prepare for c# and .NETinterviews?Where stories live. Discover now