Re:An Object-Oriented Language for the '20s
by RedNifre on Saturday March 13, 2021 @12:01PM
(#26447868)
You could do this with an extension method, no inheritance required.
[ Parent
| on HN ]
Re:An Object-Oriented Language for the '20s
by dale_glass on Saturday March 13, 2021 @12:20PM
(#26448025)
Oh, that's very nice, and just the kind of functionality I've been wanting for some time.
That was something I was recalling from a very old project though. I'm not sure right now when that was exactly. Maybe it wasn't in the language yet at the time, or was a new feature still and I didn't find about it, or it wasn't in Mono yet.
I've not done C# in a long time, so no doubt I missed a lot of developments.