⬆️ ⬇️

Questions from an interview for the post "C # Developer"

  1. Name ten c # keywords.
  2. What is a 'static' class?
  3. What is the difference between overloading and overriding?
  4. Is multiple inheritance supported in .Net?
  5. Class inherits from two interfaces containing methods with the same signature. Is it possible to provide separate implementations for these methods?
  6. What can be a root reference?
  7. How 'System.String' class differs from most of other classes?
  8. Will there be a no-final thrown?
  9. What is a satellite assembly?
  10. How 'protected' access modifier affects visibility?
  11. What does keyword 'mutable'?
  12. Can multiple catch blocks be executed?
  13. What does an operator 'as' do?
  14. What does the keyword 'final'?
  15. Can you get access to your property?
  16. Can a class be prevented from being inherited?
  17. What is event?
  18. What is the difference between event and delegate?
  19. Are events synchronous or asynchronous?
  20. What does the keyword 'safe'?
  21. Can interface members be private?
  22. What does keyword 'in'?
  23. What is the advantage of using 'System.Text.StringBuilder' class over 'System.String'?
  24. ?
  25. How 'public internal' access modifier affects visibility?
  26. Can garbage collected it becomes out-of-scope?
  27. What implementations of serialization are built in FCL? Where are they used?
  28. How is 'protected internal' access modifier affects visibility?
  29. Can 'break' exit a finally block?
  30. How to apply attribute to method return value?
  31. C # class finalizer and C # class destructor?
  32. What is the purpose of the IDisposable interface?
  33. Can an array be resized at runtime?
  34. Does it need to be defined at compile time?
  35. Can a destructor have access modifiers?
  36. What is the smallest integer type to represent the number not greater than 40,000?
  37. What do keywords 'sizeof' and 'typeof' do?
  38. What is differece between 'sizeof' and 'Marshal.SizeOf'?
  39. What is the rank rank?
  40. What does the keyword 'stackalloc'?
  41. What encoding uses 'System.String' class?
  42. What is boxing and unboxing?
  43. What is reflection?
  44. What is struct?
  45. What is multicast delegate?
  46. Does C # have “friendship”?
  47. What is the 'using' statement for?
  48. Can a struct have methods?
  49. Can a struct be inherited?
  50. Why do I want to use event handlers use signature 'void (object, EventArgsDerivative)'?
Observed results: 12 to 30 correct answers.


')

Source: https://habr.com/ru/post/67982/



All Articles