Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

3
Will the C# version of my package affect downstream users?
Post Flair (click to view more posts with a particular flair)
Post Body

I work on a NuGet package that is compatible with .NET Core 3.1, .NET 5, .NET 6 (and adding .NET 7 support now).

I want to take advantage of some of the new C# 11 features.

I'm confused about the relationship between C# versions and .NET versions.

If I write this package using C# 11, and then obviously it gets compiled to a DLL and released on NuGet, could an end-user use it in their project (.NET-compatibility aside) if their project only uses, say, C# 9?

Does C# version matter after DLL compilation?

Author
Account Strength
100%
Account Age
12 years
Verified Email
Yes
Verified Flair
No
Total Karma
46,910
Link Karma
27,133
Comment Karma
19,435
Profile updated: 3 days ago
Posts updated: 4 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
1 year ago