Saturday, January 18, 2014

OOPS and C# Questions

  1. What is Class?
  2. What is Object?
  3. What is Variable?
  4. 4 Basic things of OOPS.
  5. What is reference type and value type variable?
  6. Immutable means?
  7. Difference between Mutable and Immutable class?
  8. What is Interface?
  9. Tell a real life example of Interface.
  10. Why should i use abstract class?
  11. Difference between abstract class and interface?
  12. Difference between static and constant?
  13. How can i prevent a function to be inherited?
  14. What is function overloading?
  15. What is Optional parameters?
  16. What is named parameters?
  17. How dynamic data type works?
  18. What id function overriding?
  19. How can i force a user to inherit a class?
  20. What is delegate?
  21. What is Thread?
  22. What is the namespace do i need to use for Thread?
  23. Tell an example of partial class/Why we need to use partial class?
  24. Can i use Using(Class1 obj=new Class1()){}? if so then how?
  25. What is the need of Serialize?
  26. What is overriding?
  27. Why to use Virtual ?
  28. Do i need to override function if call inherited from abstract class?
  29. If i have same function in base as well as in sub class then what happen at the time of compilation?
  30. When can I use new keyword in function declaration?
  31. How to call base class's function if i have same function in base and in sub class?

No comments:

Post a Comment