protected property

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Can I make a "get" property public and "set" of the same property
protected/private?

Thank you
 
Not possible in the current version of C#. However, C# 2.0 (VS .NET 2005)
supports this.

Can I make a "get" property public and "set" of the same property
protected/private?

Thank you
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top