Changing [Serializable] to [DataContract]
I have an existing set of classes that use the `[Serializable]` attribute. I need to expose them in a WCF service and so I need them to have the `[DataContract]` attribute. It works with just Serializable but then the properties get funny names like ...k__BackingField.

These classes are also used elsewhere and I'm wondering whether I risk breaking anything by replacing the attribute. Also, it is possible and is it a good idea to have them both?

Thanks.
Changing [Serializable] to [DataContract]
===

I have an existing set of classes that use the `[Serializable]` attribute. I need to expose them in a WCF service and so I need them to have the `[DataContract]` attribute. It works with just Serializable but then the properties get funny names like ...k__BackingField.

These classes are also used elsewhere and I'm wondering whether I risk breaking anything by replacing the attribute. Also, it is possible and is it a good idea to have them both?

Thanks.