Why Datacontract is used in WCF?
A data contract is a formal agreement which is held between the client and service provider in which the data exchange method is explicitly defined. Additionally, with the help of data contract, the data is serialized and can be exchanged among two different entities.
BY Best Interview Question ON 09 Sep 2019