News for hackers. Stuff that matters.
Re:It’s strange what people put up with in C# by frabert on Saturday August 15, 2020 @06:36AM (#24167845)
The only one I've _really_ wanted are #2 and #3. #3 may be coming with new versions thanks to "value classes" or something like that, but "anonymous interface objects" are the only thing I actually miss from Java.
Re:It’s strange what people put up with in C# by NicoJuicy on Saturday August 15, 2020 @06:47AM (#24167892)
Use LinFu

    select new DynamicObject(new
 {
   A = value.A,
   B = value.C + "_" + value.D
 }).CreateDuck<DummyInterface>();