FeedBack Form

Your Name :
Your Email :
Your Location :
Your Message :
   
FeedBack

C#.NET INTERVIEW QUESTION & ANSWERS

76. What are the different categories of inheritance?
  Inheritance in OOP is of four types are :
  • Single inheritance » Contains one base class and one derived class.
  • Hierarchical inheritance » Contains one base class and multiple derived classes of the same base class.
  • Multilevel inheritance » Contains a class derived from a derived class.
  • Multiple inheritance » Contains several base classes and a derived class.
Your Name Your Email-ID
Your Answer
 
77. What is Jagged Arrays?
  A jagged array is an array whose elements are arrays. The elements of a jagged array can be of different dimensions and sizes. A jagged array is sometimes called an "array-of-arrays."
Your Name Your Email-ID
Your Answer
 
78. What is the difference between Classes and Structures?
 
  • Structure have value types and classes are reference types. So structure use stack and classes use heap.
  • Structures do not require constructors while classes require.
  • Structure members cannot be declared as protected, but class members can be. You cannot do inheritance in structures.
Your Name Your Email-ID
Your Answer
 
79. What is event?
  An event is an action performed based on another method of the program. An event is a delegate-type class member that is used by an object or a class to provide a notification to other objects that an event has occurred. An event can be declared with the help of the event keyword.
Your Name Your Email-ID
Your Answer
 
80. Does C# support parameterized properties?
  No; however, C# supports the concept of an indexer from language.
Your Name Your Email-ID
Your Answer