file 访问修饰符
版本新特性 / C# 11.0
内插表达式中的换行
结构体字段自动默认值
required 修饰符
file 访问修饰符
列表模式
多行字符串字面量
file
class
Point
{ }
If
you declare classes
with
the same name in different files
in
the same
namespace
by adding the
file
modifier, there will be no conflicts.