9
0

Improving C# Memory Safety

27d 7h ago by mander.xyz/u/nemeski in csharp@programming.dev from devblogs.microsoft.com

The unsafe keyword is being redesigned to mark caller-facing contracts rather than just syntax. Safety obligations between callers and callees become visible and reviewable. The model is motivated by the rise of AI-assisted code generation and arrives as a preview in .NET 11.