تعدادی از ویژگی‌های پیشنهادی C# 9.0
308, PermanentRedirect
http://rion.io/2020/01/01/happy-new-c-sharp-9-features/ icon
// Before
public class Widget  
{
    private readonly int _foo;
    private readonly WidgetConfiguration _config;

    public Widget(int foo, WidgetConfiguration config)
    {
         _foo = foo;
         _config = config;
    }
}


// After
public class Widget  
{
     public Widget(int _foo, WidgetConfiguration _config)
     {
          // If you wanted one of these properties to be publicly accessible, you could define
          // and set one of those here, otherwise the arguments will be privately accessible
          // as fields.
     }
}
تعدادی از ویژگی‌های پیشنهادی C# 9.0