Which attribute is used to define a service class in WCF?

Q & AWhich attribute is used to define a service class in WCF?
Admin Staff asked 5 years ago

Which attribute is used to define a service class in WCF?

a.Service
b.WCFService
c.ServiceContract
d.None of the above

1 Answers
Admin Staff answered 5 years ago

c.ServiceContract