Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Several APIs have been marked as obsolete in .NET 7. Referencing these APIs in your code will result in build warnings. In C#, the compiler diagnostic for these obsoletions is CS0618.
Previously, the affected APIs could be referenced without any build warnings.
Starting in .NET 7, referencing the affected APIs will result in build warnings.
.NET 7 Preview 3
These obsoletions can affect source compatibility.
These APIs were previously marked obsolete in the implementation assemblies but not in the reference assemblies. The reference assemblies have now been updated to match the implementation assemblies.
Follow the recommended action that's emitted when you use the obsolete API.
.NET feedback
.NET is an open source project. Select a link to provide feedback:
Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowTraining
Module
Apply interfaces in code - Training
Discover how default implementations in interfaces enable you to add new methods directly into an interface and provide a default implementation.