The following Two data contracts are equal.

[DataContract(Name = "Maruthi")]
public class Car
{
[DataMember]
public int Cost;
[DataMember]
public int Bhp;

}

[DataContract(Name = "Maruthi")]
public class Car2
{
[DataMember(Order = 2)]
public int Bhp;
[DataMember(Order = 1)]
public int Cost;

}

 Posted by Sgandikota on 7/14/2011 | Category: WCF Interview questions | Views: 20301 | Points: 40
Select from following answers:
  1. True
  2. False
  3. None
  4. All Above

Show Correct Answer


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response