DevLabs > DevLabs Forums > Code Contracts > What is the purpose of ContractPublicPropertyName attribute?
Ask a questionAsk a question
 

AnswerWhat is the purpose of ContractPublicPropertyName attribute?

  • Tuesday, November 03, 2009 8:19 AMAlexey R. Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Still unclear to me. If there is a public property which correponds to a private field, why can't we just use that public property instead of the private field where we need to satisfy the visibilty rules?

Answers

All Replies