This cannot be done in C#. Any way to do it?
...
laugh, in case my little pun wasn\'t understood, what I mean is: how can I mark a property in C# as Non
For events, you can use [field:NonSerialized], but for auto-properties this does not work. It seems like it would be a very logical way to handle auto-properties as well, but for some reason it doesn't seem to have been implemented.
[field:NonSerialized]