Properties : set different from get

C

cmrchs

Hi,

In a property : is it possible to define the get part as public, and the set part as protected for example.

In general : to define get and set with different accesibillity.

Thnx
Chris

**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi,

Not today

It will be possible with c# 2.0 IIRC

cheers,


--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation


Chris C said:
Hi,

In a property : is it possible to define the get part as public, and the
set part as protected for example.
In general : to define get and set with different accesibillity.

Thnx
Chris

**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP &
ASP.NET resources...
 

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

Top