In WCF, suppose you have a derived class inherited from a datacontract class, will the derived class automatically have a datacontract as well ?

 Posted by Akiii on 10/9/2012 | Category: WCF Interview questions | Views: 2804 | Points: 40
Answer:

The Data contract is not inherited, so any derived class, would have to be explicitly declared as having a Data contract attribute as well.


Thanks and Regards
Akiii


| Alert Moderator 

Comments or Responses

Login to post response