Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Interestingly enough there are a small handful of things VB.NET and C++/CLI can do which C# can't, which enable the former languages to have better interoperability with COM interfaces.

That was with .NET Framework and I'm not sure what the story is today with .NET Core aka .NET 5+.



They eventually added optional names parameters which made the interop problem much better for C# compared to VB.

C# wasn't as good still but you no longer had to put earlier params at their default value (which is what made it unusable).

C++/CLI will probably remain king of interop though being a Frankenstein combination of the .NET runtime and C++.


The other headache was indexed properties, but I don't think that's changed.

C++/CLI is no man's land and I tried my best to avoid it; and so far, I've managed; sometimes after-the-fact.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: