Share Knowledge and Skills

Saturday 11 October 2014

.NET FAQ's

11:24 Posted by Unknown No comments
dotnet_faqs_alokaonlineservices

  1. Are private class-level variables inherited?
  2. Can multiple catch blocks be executed for a single try statement?
  3. Can you allow a class to be inherited, but prevent the method from being over-ridden?
  4. Can you declare an override method to be static if the original method is not static?
  5. Can you inherit multiple interfaces?
  6. Can you prevent your class from being inherited by another class?
  7. Can you store multiple data types in System.Array?
  8. Describe the accessibility modifier “protected internal”.
  9. Does C# support multiple-inheritance?
  10. How can you sort the elements of the array in descending order?
  11. How is method overriding different from method overloading?
  12. What are the different ways a method can be overloaded?
  13. What class is underneath the SortedList class?
  14. What does the keyword “virtual” declare for a method or property?
  15. What does the term immutable mean?
  16. What happens if you inherit multiple interfaces and they have conflicting method names?
  17. What is an interface class?
  18. What is the difference between a Struct and a Class?
  19. What is the syntax to inherit from a class in C#?
  20. What’s an abstract class?
  21. What’s the .NET collection class that allows an element to be accessed using a unique key?
  22. What’s the advantage of using System.Text.StringBuilder over System.String?
  23. What’s the C# syntax to catch any possible exception?
  24. What’s the difference between an interface and abstract class?
  25. What’s the difference between System.String and System.Text.StringBuilder classes?
  26. What’s the implicit name of the parameter that gets passed into the set method/property of a class?
  27. What’s the top .NET class that everything is derived from?
  28. When do you absolutely have to declare a class as abstract?
  29. Why can’t you specify the accessibility modifier for methods inside the interface?
  30. Will the finally block get executed if an exception has not occurred?­

0 comments:

Post a Comment