C# OOPs interview question for experienced
1. Difference between abstract and Interface.
2. Difference Abstraction and Encapsulation.
3. What is the purpose of Sealed Class.?
4. Can we inherit Sealed Class
5. Why is Static class used?
6. Can we use non-static methods in Static class?
7. How many types of access modifier in C#
8. Difference between internal and protected internal.
9. Difference between REF and OUT keyword.
10. When to use REF and OUT keyword?
11. What is partial class and what is use of partial class?
12. What is partial methods?
13. Can we have multiple catch blocks in C#?
14. Difference between Const and READONLY keyword?
15. Difference between VAR and DYNAMIC keywords in C# (4.0)
16. What is shadowing in C#.
17. What is static constructor?
18. Can static constructor have parameters?
19. Use of Private Constructor?
20. Default Constructor.
21. What are properties in C#?
22. How properties is different from fields.
23. What is Readonly, Writeonly, ReadWrite and auto Implemented properties.
24. What is Events, can events have return type?
25. What is delegate?
26. What is the purpose of generic?
27. Difference between Array , Arraylist and ArrayClass.
28. How can we access Session in ClassLibrary.
29. What is the difference between Shadowing and Overriding?
30. What is method overloading and method overriding?
31. What is static Polymorphism and runtime Polymorphism.
32. What is Dispose method?
33. Difference between Dispose and finalize in C#
34. What is ENUM?
35. What is nested Class?
36. What is use of using Keyword?
37. What is CLR?
38. What is Indexer?
39. Difference between HashTable and Dictionary in C#?
40. What is the difference between System.String and System.StringBuilder classes.
41. Diffrence between System.String and string in c#?
42. Difference between Convert.ToString() and ToString().
43. Where are all .NET Collection classes located?
44. What are queues and stacks?
Comments
Post a Comment