Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions release-notes/10.0/preview/preview2/csharp-p2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# C# 14 updates in .NET 10 Preview 2 - Release Notes

.NET 10 Preview 2 includes the following C# features & enhancements:

- [Partial events and constructors](#partial-events-and-constructors)

C# 14 updates:

- [What's new in C# 14](https://learn.microsoft.com/dotnet/csharp/whats-new/csharp-14) documentation
- [Breaking changes in C# 14](https://learn.microsoft.com/dotnet/csharp/whats-new/breaking-changes/compiler%20breaking%20changes%20-%20dotnet%2010)

## Partial events and constructors

C# 14 rounds out the set of partial members by adding partial constructors and partial events. These new partial member types join partial methods and partial properties that were added in C# 13. Partial members allow one part of a class to declare a member, which can then be implemented in another part of the same class, often in a different file. Partial members are often used by source generators.

You can learn more by reading the feature [documentation](https://github.com/dotnet/roslyn/blob/main/docs/features/string-literals-data-section.md).