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: 4090 | Points: 40

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

| Alert Moderator 

Comments or Responses

Login to post response