Saturday, August 11, 2018

OOPs Important Questions

1. Difference between Abstract and Interface.

2. Abstract 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 used non-Static method in Static class.

7. Diff b/w internal and protected internal

8. Diff b/w Ref/Out Keywords and When to Use.

9. What is Partial class and Method.

10. Can we have multiple catch block in c#.

11. Diff b/w Const and Readonly.

12.  Var and Dynamic.

13. What is Shadowing in c#.

14. what is Static constructor and it have parameter.

15. what is Properties in c#.

16. How Properties different from fields.

17. what is Readonly, Writeonly, ReadWrite, and implemented properties.

18. What is Event and Event have return type.

19. what is the purpose of generic.

20. diff b/w shadowing and overriding.

21. what is Dispose.

22. Diff b/w Dispose and Finalize.

23. What is Nested Class.

24. what are all .net Collection classes located.
 


No comments:

Post a Comment