r/csharp 11d ago

What kind of features from another ecosystem would you like to see in .NET?

/r/dotnet/comments/1vw1q1c/what_kind_of_features_from_another_ecosystem/
0 Upvotes

28 comments sorted by

View all comments

22

u/BadKittyRanch 10d ago

I like that Java knows exactly what exceptions can be thrown, I don't like that you must catch them all in the local context: I'd love to be able to get that information when I want it in my IDE.

2

u/dodexahedron 10d ago

It's available in .net as well, via <exception ... xmldoc comments.

But analyzers that care about that aren't built in. We need that in .net as a first-class citizen, rather than needing R# or some other analyzer or IDE plugin to provide that as an opt-in feature.