Which attribute is used to decorate enum variables to be a part of datacontract?

Q & AWhich attribute is used to decorate enum variables to be a part of datacontract?
Admin Staff asked 4 years ago

Which attribute is used to decorate enum variables to be a part of datacontract?

a.EnumElement
b.EnumMember
c.EnumVariable
d.DataMember

1 Answers
Admin Staff answered 4 years ago

b.EnumMember