Build with an Azure free account. Get USD200 credit for 30 days and 12 months of free services.

Start free today

C# Language Highlights: Top-level statements

Play C# Language Highlights: Top-level statements

The Discussion

  • User profile image
    ragsofblr
    This is awesome makes .Net more lovable. Helps one get directly into the coding rather than start by understanding the structure of the code and then start coding. Love it.
  • User profile image
    GauravSingh
    Somehow I did not liked the concept of top level statements. This may confuse many developers.
  • User profile image
    Gaujaai

    I agree with GauravSingh, it may confuse not only developers but more importantly people just starting to learn programming. I also think it is a lazy way to program and is of little use beyond short console applications.

  • User profile image
    Object​Reference
    This feature makes it easy for new developers to jump into C#. Other languages like Python and Swift have this feature hence Microsoft doesn't want C# to appear more complex to those learning programming. GauravSingh and Gaujaai don't get this.

Add Your 2 Cents