I suggest you ...

Support using for static classes, e.g. using static System.Math;

Allow the static keyword to be applied in a using namespace directive, e.g. using static System.Math; allowing static classes to be treated as namespaces and avoid having to fully qualify every method call, i.e. Math.Max becomes just Max

20 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Phillip TrelfordPhillip Trelford shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    1 comment

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Phillip TrelfordPhillip Trelford commented  ·   ·  Flag as inappropriate

        VB.Net lets you do this, i.e. Imports System.Math
        Java lets you do this, i.e. import static java.lang.Math.*;
        F# can open F# defined Modules (static classes).

      Feedback and Knowledge Base