Some Interview Questions for .Net technology
This will help you to prepare technically using these questions. In every interview they will start with OOPS concept. Here I will list out the questions asked by technical round. What is Object Oriented Programming ? What's a Class ?
.Net questions with OOPS
1.What is Object Oriented Programming ?
2.What's a Class ?
3.What's a Object ?
4.What's the relation between Classes and Objects ?
5.What are different properties provided by Object-oriented systems ?
6.Can you explain different properties of Object Oriented Systems?
7.what is Polymorphism?
8.What is meant by Binding?
9.What is meant by static binding?
10.What is meant by Dynamic binding?
12.What is meant by Persistence?
13.What is friend function?
14.What is a virtual function?
15.What is a ternary operator?
16.What is exception handling?
17.What are the various types of constructors?
18.What is a copy constructor?
19.What is Access Modifier in OOPS?
20.What is Compile Time Polymorphism in OOPS?
21.can we implement multiple inheritance by using interfaces in C#.net?
22.How a pointer stores address?
23.Difference between Object Base and Object Oriented ?
24.Main Difference between Method and function?
25.What is the difference between a struct and a class in C#?
26.If you are required to call a non-static method in static method then how will you do this?
27.If you want to restrict user to make only one object in the entire application usage how will you achieve this?
28.What's difference between Association , Aggregation and Inheritance relationships?
29.How can we achieve inheritance in VB.NET ?
30.What are abstract classes ?
31.What's a Interface ?
32.What is difference between abstract classes and interfaces?
33.What is a delegate ?
34.What are event's ?
35.Do events have return type ?
36.Can event's have access modifiers ?
37.Can we have shared events ?
38.What is shadowing ?
39.What's difference between Shadowing and Overriding ?
40.What's difference between delegate and events?
41.If we inherit a class do the private variables also get inherited ?
42.What are different accessibility levels defined in .NET ?
43.Can you prevent a class from overriding ?
44.What's the use of "MustInherit" keyword in VB.NET ?
45.What is Dispose method in .NET ?
46.Whats the use of "OverRides" and "Overridable" keywords ?
47.Why can not you specify accessibility modifier in Interface ?
48.What are similarities between Class and structure ?
49.What's the difference between Class and structure's ?
50.What does virtual keyword mean ?
51.What are shared (VB.NET)/Static(C#) variables?
52.Where are all .NET Collection classes located ?
53.What is ArrayList ?
54.What's a HashTable ?
55.What's difference between HashTable and ArrayList ?
56.What are queues and stacks ?
57.What is ENUM ?
58.What is nested Classes ?
59.What's Operator Overloading in .NET?
60.In below sample code if we create a object of class2 which constructor will fire first ?
61.What's the significance of Finalize method in .NET?
62.Why is it preferred to not use finalize for clean up?
63.How can we suppress a finalize method?
64.What's the use of DISPOSE method?
65.How do I force the Dispose method to be called automatically, as clients can forget to call Dispose
66.In what instances you will declare a constructor to be private?
67.Can we have different access modifiers on get/set methods of a property ?
68.If we write a goto or a return statement in try and catch block will the finally block execute ?
69.What is Indexer ?
70.Can we have static indexer in C# ?
71.In a program there are multiple catch blocks so can it happen that two catch blocks are executed ?
72.What is the difference between System.String and System.StringBuilder classes?
73.What is sealed class?
Really good collection...