3 ms·
that's not how nominal types work: the properties looped over will be only the one of Parent
by _ZeD_ 3y ago
that's not how nominal types work: the properties looped over will be only the one of Parent
- bazoom42 3y agoIn Java or C# you would need to use reflection to loop over the members of an object, but AFAIK this would yield the members of the current instance, not the nominal type.
- recursive 3y agoNo, sorry, you're not right. Here's some C# you can run in your browser. https://dotnetfiddle.net/ZeSNkA https://dotnetfiddle.net/ZeSNkA