Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. The Insider News
  4. Overview of C# 6 language enhancements

Overview of C# 6 language enhancements

Scheduled Pinned Locked Moved The Insider News
csharplinqcomtools
4 Posts 4 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kent Sharkey
    wrote on last edited by
    #1

    Bill Wagner[^]:

    There isn’t a single overarching theme (like Generics, LINQ, async/await), but there are a lot of features that enhance your productivity both writing and reading C# code.

    "I program my home computer. Beam myself into the future"

    L Richard DeemingR M 3 Replies Last reply
    0
    • K Kent Sharkey

      Bill Wagner[^]:

      There isn’t a single overarching theme (like Generics, LINQ, async/await), but there are a lot of features that enhance your productivity both writing and reading C# code.

      "I program my home computer. Beam myself into the future"

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      I see a lot fancy new crap that brownfielders can get used to in this preview.

      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

      1 Reply Last reply
      0
      • K Kent Sharkey

        Bill Wagner[^]:

        There isn’t a single overarching theme (like Generics, LINQ, async/await), but there are a lot of features that enhance your productivity both writing and reading C# code.

        "I program my home computer. Beam myself into the future"

        Richard DeemingR Offline
        Richard DeemingR Offline
        Richard Deeming
        wrote on last edited by
        #3

        Await in catch / finally blocks and the null-propagation operator look quite handy. Exception filters? I can see the argument that VB has them, so C# should have them too. But I don't think I've ever encountered a situation where I've thought, this would be much easier / cleaner with exception filters. Everything else just looks horrible. But I guess that's just another sign I'm getting old.


        "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

        "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

        1 Reply Last reply
        0
        • K Kent Sharkey

          Bill Wagner[^]:

          There isn’t a single overarching theme (like Generics, LINQ, async/await), but there are a lot of features that enhance your productivity both writing and reading C# code.

          "I program my home computer. Beam myself into the future"

          M Offline
          M Offline
          Michael Pauli
          wrote on last edited by
          #4

          Well I think most of the enhancements looks promising - especialy null propagation and primary constructors. Both makes code shorter and more clear. Exception filtering looks kind of short-hand of "if (e is MyException) {...}. Why not remove the break-need in the end of switch-case's. I don't see why break is needed - should break out when the next case begins - or? That is what I can think of.

          Michael Pauli

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups