C interview questions – page 24

2,130 questions. Tap “Show answer” to check yourself.

Advertisement
  1. In order to use stringbuilder in our class we need to refer

  2. What Datatypes does the RangeValidator Control support?

  3. The compiler throws an error if XML comments is not well formed

  4. Class A(){};int main(){A a;}Whether there will be a default constructor provided by the compiler in above case ?

  5. What is the difference between Function and Member function?

  6. Which of the following is not a C# reserved keyword

  7. Which of the following can not be declared as virtual

  8. What is the main difference between pointer and delegate with examples?

  9. How is static variable stored in the memory?( if there are 2 functions in a file,and the static variable name is same (ex var) in both the function. how is it keep seperately in the memory).

  10. Which method is actually called ultimately when Console.WriteLine( ) is invoked

  11. What is the difference between c&c++?

  12. How do you make a class not instantiable

  13. Advertisement
  14. Is it possible to inherit a class that has only private constructor?

  15. Public policy applies to

  16. The assembly class is defined in

  17. For performing repeated modification on string which class is preferred

  18. NET interfaces are not derived from IUnknown & they do not have associated GUID?s

  19. How to find exceptions in database

  20. Can we use Friend Classes or functions in C# the way we use it in C++

  21. Which are the important features of IL

  22. Net Remoting doesn?t allow creating stateless & stateful Remote objects

  23. Different types of languages compare in c++ and other languagesOops concepts in other language oops

  24. Difference between a "assignment operator" and a "copy constructor"

  25. We can overload assignment operator as a normal function.But we can not overload assignment operator as friend function why?

  26. Advertisement
  27. Interface members can not be declared as

  28. Can static methods be overridable?

  29. How do you load assembly to running process

  30. Where does the version dependencies recorded

  31. What is the use of copy constructor?

  32. What is a memory leak? How can we avoid it?

Advertisement