Partial classes in .Net 2.0 do not allow to split property into different classes

I've started to use partial classes features and wanted to add set property to the read-only property (with get only) generated by VS.

But it is not allowed, which is fair enough.

So to add “set” functionality I have to create method or property with different name.

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
posted @ Thursday, March 02, 2006 7:15 AM
Print

Comments on this entry:

No comments posted yet.

Your comment:



(not displayed)


 
 
 
 
 

Live Comment Preview:

 
«February»
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910