C# Interview Question and Answers

41. Does C# support XP themes?
  Yes. to find more information on how its done.
 
Your Name Your Email-ID
Your Answer
42. What is a satellite assembly?
  When you write a multilingual or multi-cultural application in .nET, and want to distribute the core application separately from the localized modules, the localized assemblies that modify the core application are called satellite assemblies.
 
Your Name Your Email-ID
Your Answer
43. Can you prevent your class from being inherited and becoming a base class for some other classes?
  Yes, that's what keyword sealed in the class definition is for. The developer trying to derive from your class will get a message: cannot inherit from Sealed class WhateverBaseClassName. It's the same concept as final in Java.
 
Your Name Your Email-ID
Your Answer
44. Why can’t you specify the accessibility modifier for methods inside the interface?
  They all must be public. Therefore, to prevent you from getting the false impression that you have any freedom of choice, you are not allowed to specify any accessibility, it's public by default.
 
Your Name Your Email-ID
Your Answer
45. How can you overload a method?
  Different parameter data types, different number of parameters, different order of parameters.
 
Your Name Your Email-ID
Your Answer
12345678910 Page 9 of 10