Search This Blog

Interview Questions

I will be adding interview questions daily here..Please subscribe

1.) Can we have multiple Main methods inside an Assembly?
Ans.)  For Solution please refer  http://shaktitanwar.blogspot.com/2011/06/can-we-have-multiple-main-methods.html

2.) Can you store ViewState of an asp.net page at server? Or Is ViewState a Client Side State Management technique or a Server Side?
Ans.) ViewState can be stored both Client as well as Server. To learn more click here

3.) What is the difference between ViewState and ControlState?
Ans.) Refer to my blog post here

4.) What is CLR?

5.) What is CTS?

6.) What is CLS?

7.) What is a Process?

8.) What's an AppDomain? Why do we need AppDomain?

9.) What's the difference between AppDomain and Process/

10.) What do mean by an assembly?

11.) What's the difference between a .Net DLL and COM DLL?

12.) What do you mean by Assembly Versioning?

13.) What's the significance of Major number , Minor number , Build and Revision in assembly version?

14.) Why do we need assembly?

15.) What are the various types of assembly?

16.) What's was DLL hell?

17.) How .net resolved dll hell?

18.) What do mean by assembly Manifest?

19.) What's the difference between DLL and EXE?

20.) What do you mean by encapsulation?

21.) Is an empty class an example of encapsulation?

22.) What do you mean by abstraction?

23.) How do you achieve abstraction?

24.) How many types of access modifiers are there in .Net?

25.) Design a class which is accessible to other assembly but whose object can only be created from parent assembly?

26.) How do you achieve Encapsulation?

27.) What do you mean by polymorphism?

28.) What do you mean by Compile time polymorphism?

29.) What do you mean by Runtime polymosphism?

30.) What do you mean by method hiding?

31.) What do you mean by Method Overloading?

32.) What do you mean by method overriding?

33.) What do you mean by casting?

34.) What's the difference between out and ref keywords?

35.) What's the difference between checked and unchecked keyword?

36.) Can we have Main method inside an struct?

37.) Does C# supports multiple inheritance?

38.) Does C# supports Pointers?

39.) What's the significance of static keyword?

40.) What do mean by extern keyword?

41.) Explain Garbage Collection Process?

42.) What's the difference between finalize and Dispose?

42.) Explain Disposable pattern?

43.) Difference between interface and abstract class?

44.) Is it necessary for an abstract class to have abstract methods?

45.) Can struct inherit other structures?

46.) Can struct implement interfaces?

47.) What's Dependency Inversion Principle?

48.) What's SOLID principle?

49.) Explain Association, Aggregation and Composition?

50.) Explain MVP?

51.) What's DCOM?

52.) What are the advantages and disadvantages of DCOM ?

53.) Why web services are preferred over DCOM?

54.) Does web services support method overloading?

55.) What is WS-I?

56.) Why web services doesn't support method overloading when used natively ( Without MessageName and chanfing Profile)?

57.) Does web service support Sessions?

58.) Is there anything that i need to do at client side for enabling session in web service?

59.) What's the underlying protocol used by web services?