What is datacontract in c#?



What is datacontract in c#?..

Answer / Salil Shukla

DataContract is an attribute in C# that is used with the Serialization API to control object serialization and deserialization. It allows for customizing properties to be included or excluded during the serialization process.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What is a console operator?

1 Answers  


why c# is pronounced as C-sharp instead of pronouncing it as C-hash? is there any technical reason behind it?

3 Answers  


What is the meaning of console writeline in c#?

1 Answers  


What is cshtml extension?

1 Answers  


What is an array of arrays called?

1 Answers  


How many bits is int32?

1 Answers  


how encapsulation is implemented in c#

1 Answers   Cognizant,


Which config file has all the supported channels/protocol?

1 Answers  


Define constructors

1 Answers  


What is private variable?

1 Answers  


What are the advantages of generics in c#?

1 Answers  


How do you comment in c#?

1 Answers  


Categories