-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
Feature RequestImplemented Needs ECMA SpecThis feature has been implemented in C#, but still needs to be merged into the ECMA specificationThis feature has been implemented in C#, but still needs to be merged into the ECMA specificationProposal champion
Milestone
Description
How it looks now:
using System;
namespace Company.Project
{
public class Product
{
...
}
}
Why do we need to nest our class definition in namespace ? Why not to remove extra nesting ?
Isn't that better ?
namespace Company.Project
using System;
public class Product
{
...
}
LDM history:
- https://github.com/dotnet/csharplang/blob/main/meetings/2021/LDM-2021-02-10.md#namespace-directives-in-top-level-programs
- https://github.com/dotnet/csharplang/blob/main/meetings/2021/LDM-2021-01-13.md#file-scoped-namespaces
- https://github.com/dotnet/csharplang/blob/main/meetings/2021/LDM-2021-01-05.md#file-scoped-namespaces
jnm2, Thaina, svick, DavidArno, iam3yal and 226 moreYaakovDavis, ig-sinicyn, Davipb, maxtoroq, ilexp and 15 moreAloento and aradalvandumbarov, wanton7, Vake93, awulkan, EduardoLarios and 16 moreEduardoLarios, zsr2531, slang25, john-h-k, wanton7 and 39 moreawulkan, umbarov, EduardoLarios, Mrxx99, JustNrik and 18 more
Metadata
Metadata
Assignees
Labels
Feature RequestImplemented Needs ECMA SpecThis feature has been implemented in C#, but still needs to be merged into the ECMA specificationThis feature has been implemented in C#, but still needs to be merged into the ECMA specificationProposal champion