![]() Improvements for lambda expressions and method groups: "We've made several improvements to both the types and the syntax surrounding lambdas," Dollard said.This format is namespace X.Y.Z (note the semicolon and lack of braces): Implicit usings, meanwhile, automatically adds common global using directives for specific types of projects.įile-scoped namespaces are another new feature, allowing for a simpler format in files containing only one namespace. C# 10 features a new global using directive and implicit usings to reduce the number of usings needed, which are specified at the top of each file. In detailing new features and functionality in Microsoft's flagship programming language, Dollard started out with global and implicit using directives, which let developers use types defined in a namespace without specifying the fully qualified namespace of that type. For the time-challenged, here's a summary, with links for those wanting to dive deeper: NET, who explained everything in a series of blog posts. Lots, says Microsoft's Kathleen Dollard, principal program manager. ![]() NET 6 and 64-bit Visual Studio 2022 releases last week, what's new in C#, F# and Visual Basic?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |