Hey all,
Just curious, I want to make the "set" in a property obsolete, but not the get or the property. Is there a way to do this?
[System.Obsolete]
Public string FirstName {
get;
set;
}
works fine, but this fails:
Public string FirstName {
get;
[System.Obsolete]
set;
}
Anyone know of a way to achieve this?
Just curious, I want to make the "set" in a property obsolete, but not the get or the property. Is there a way to do this?
[System.Obsolete]
Public string FirstName {
get;
set;
}
works fine, but this fails:
Public string FirstName {
get;
[System.Obsolete]
set;
}
Anyone know of a way to achieve this?
Comment