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. The Lounge
  3. What version of C# are you using?

What version of C# are you using?

Scheduled Pinned Locked Moved The Lounge
csharppythoncsscomquestion
46 Posts 25 Posters 0 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.
  • M Marc Clifton

    If you use C#? Where I work, we're still on C# [edit] 4 [/edit] 5, with C# 6 or 7 "not in the foreseeable future." X| :elephant: 'ing archaic. Just found out the remote build only targets C# 4. :laugh:

    Latest Article - Class-less Coding - Minimalist C# and Why F# and Function Programming Has Some Advantages Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

    S Offline
    S Offline
    Steve Naidamast
    wrote on last edited by
    #30

    I am still using the version of C# that is installed with Visual Studio 2015/SP3 for my military simulation development. For all intents and purposes, whether it is for business, game development, serious simulations, or scientifics, and internals, there is nothing really critically important in any of the new C# versions coming out. Most new features are either different ways of doing the same things that were being done previously or some fine-tuned optimizations, few of which will be really noticeable. That being said, if a new version of C# is released with a feature that is sorely needed for a specific requirement than an upgrade should be considered. Other than that, upgrading simply allows the developer to say he or she is using the latest version...

    Steve Naidamast Sr. Software Engineer Black Falcon Software, Inc. blackfalconsoftware@outlook.com

    M 1 Reply Last reply
    0
    • M Marc Clifton

      If you use C#? Where I work, we're still on C# [edit] 4 [/edit] 5, with C# 6 or 7 "not in the foreseeable future." X| :elephant: 'ing archaic. Just found out the remote build only targets C# 4. :laugh:

      Latest Article - Class-less Coding - Minimalist C# and Why F# and Function Programming Has Some Advantages Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

      Z Offline
      Z Offline
      zezba9000
      wrote on last edited by
      #31

      We use C# 7.

      1 Reply Last reply
      0
      • M Marc Clifton

        If you use C#? Where I work, we're still on C# [edit] 4 [/edit] 5, with C# 6 or 7 "not in the foreseeable future." X| :elephant: 'ing archaic. Just found out the remote build only targets C# 4. :laugh:

        Latest Article - Class-less Coding - Minimalist C# and Why F# and Function Programming Has Some Advantages Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

        U Offline
        U Offline
        User 11319743
        wrote on last edited by
        #32

        What about security? Where I am working, we absolutely need to keep up with the latest versions of the .NET runtime and JVM because of security issues in older versions (yes, and patch the newer versions). I am currently working with VS 2015 update 3 but will move to 2017 as the software engineering organization moves to it.

        M 1 Reply Last reply
        0
        • M Marc Clifton

          If you use C#? Where I work, we're still on C# [edit] 4 [/edit] 5, with C# 6 or 7 "not in the foreseeable future." X| :elephant: 'ing archaic. Just found out the remote build only targets C# 4. :laugh:

          Latest Article - Class-less Coding - Minimalist C# and Why F# and Function Programming Has Some Advantages Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

          R Offline
          R Offline
          RandyBuchholz
          wrote on last edited by
          #33

          C# 7.1. But I'm doing a "staff upgrade" on myself. The thing about new language features is not so much what one feature can add, but how together they change the way you code and think about solutions.

          M 1 Reply Last reply
          0
          • M Marc Clifton

            abmv wrote:

            Its hard to fix things that aren't broken...

            What's broken is we're all using VS 2015 but the remote build process is still building with C# 4. So, if you don't remember to set the "use C# version" under build -> advanced to 4.0, it's easy to write a lot of code using C# 5 or 6 features, only to discover the remote build fails. Or worse, as in my case, you find a snazzy open source package that uses C# 6.0 syntax.

            Latest Article - Class-less Coding - Minimalist C# and Why F# and Function Programming Has Some Advantages Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

            abmvA Offline
            abmvA Offline
            abmv
            wrote on last edited by
            #34

            Well its a matter team consensus..its better to get to C# latest when their is time than later brood over it.

            Caveat Emptor. "Progress doesn't come from early risers – progress is made by lazy men looking for easier ways to do things." Lazarus Long

            We are in the beginning of a mass extinction. - Greta Thunberg

            1 Reply Last reply
            0
            • M Marc Clifton

              abmv wrote:

              Its hard to fix things that aren't broken...

              What's broken is we're all using VS 2015 but the remote build process is still building with C# 4. So, if you don't remember to set the "use C# version" under build -> advanced to 4.0, it's easy to write a lot of code using C# 5 or 6 features, only to discover the remote build fails. Or worse, as in my case, you find a snazzy open source package that uses C# 6.0 syntax.

              Latest Article - Class-less Coding - Minimalist C# and Why F# and Function Programming Has Some Advantages Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

              U Offline
              U Offline
              User 12479006
              wrote on last edited by
              #35

              Our build server is set up for C#5, but I just include the latest Microsoft.Net.Compilers nuget package into my project and the build server uses that version to build my code. So, I have never had to change the build server and can always use the latest version of C#.

              M 1 Reply Last reply
              0
              • U User 12479006

                Our build server is set up for C#5, but I just include the latest Microsoft.Net.Compilers nuget package into my project and the build server uses that version to build my code. So, I have never had to change the build server and can always use the latest version of C#.

                M Offline
                M Offline
                Marc Clifton
                wrote on last edited by
                #36

                Member 12512543 wrote:

                Our build server is set up for C#5, but I just include the latest Microsoft.Net.Compilers nuget package into my project and the build server uses that version to build my code.

                That's sneaky. I will have to try that. :)

                Latest Article - Class-less Coding - Minimalist C# and Why F# and Function Programming Has Some Advantages Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

                1 Reply Last reply
                0
                • J Jeremy Falcon

                  Marc Clifton wrote:

                  :elephant:'ing archaic.

                  A new emoji! :omg:

                  Jeremy Falcon

                  M Offline
                  M Offline
                  Marc Clifton
                  wrote on last edited by
                  #37

                  Jeremy Falcon wrote:

                  A new emoji!

                  Enjoying the :sunshine: too much? ;)

                  Latest Article - Class-less Coding - Minimalist C# and Why F# and Function Programming Has Some Advantages Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

                  J 1 Reply Last reply
                  0
                  • B Brady Kelly

                    I freelance, so I'm using 7.1 :)

                    "'Do what thou wilt...' is to bid Stars to shine, Vines to bear grapes, Water to seek its level; man is the only being in Nature that has striven to set himself at odds with himself." —Aleister Crowley

                    M Offline
                    M Offline
                    Marc Clifton
                    wrote on last edited by
                    #38

                    Brady Kelly wrote:

                    I freelance, so I'm using 7.1

                    Aye, as do I with my side-freelance projects. :)

                    Latest Article - Class-less Coding - Minimalist C# and Why F# and Function Programming Has Some Advantages Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

                    1 Reply Last reply
                    0
                    • M Mario Z

                      You think you have it rough, try using C# 7 while your projects target .NET Framework 2.0 or 3.0 ...

                      M Offline
                      M Offline
                      Marc Clifton
                      wrote on last edited by
                      #39

                      Mario Z wrote:

                      You think you have it rough, try using C# 7 while your projects target .NET Framework 2.0 or 3.0 ...

                      Ugh. :(

                      Latest Article - Class-less Coding - Minimalist C# and Why F# and Function Programming Has Some Advantages Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

                      1 Reply Last reply
                      0
                      • S Steve Naidamast

                        I am still using the version of C# that is installed with Visual Studio 2015/SP3 for my military simulation development. For all intents and purposes, whether it is for business, game development, serious simulations, or scientifics, and internals, there is nothing really critically important in any of the new C# versions coming out. Most new features are either different ways of doing the same things that were being done previously or some fine-tuned optimizations, few of which will be really noticeable. That being said, if a new version of C# is released with a feature that is sorely needed for a specific requirement than an upgrade should be considered. Other than that, upgrading simply allows the developer to say he or she is using the latest version...

                        Steve Naidamast Sr. Software Engineer Black Falcon Software, Inc. blackfalconsoftware@outlook.com

                        M Offline
                        M Offline
                        Marc Clifton
                        wrote on last edited by
                        #40

                        Steve Naidamast wrote:

                        here is nothing really critically important in any of the new C# versions coming out.

                        Well, I'm noticing some open source projects that specifically target C# 7, like MoreLinq, though I suppose NuGet would resolve that, but I like to be able to build the latest OS code.

                        Steve Naidamast wrote:

                        or my military simulation development

                        Then again, the military probably frowns on using open source packages?

                        Latest Article - Class-less Coding - Minimalist C# and Why F# and Function Programming Has Some Advantages Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

                        S 1 Reply Last reply
                        0
                        • M Marc Clifton

                          Jeremy Falcon wrote:

                          A new emoji!

                          Enjoying the :sunshine: too much? ;)

                          Latest Article - Class-less Coding - Minimalist C# and Why F# and Function Programming Has Some Advantages Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

                          J Offline
                          J Offline
                          Jeremy Falcon
                          wrote on last edited by
                          #41

                          Hah. Actually yeah. As I get older I realized living too much behind a computer makes your life worse not better. Well, that and I'm looking for a job... again. Because my last contract crapped out. So when in job hunt mode I tend not to do stuff like visit CP. I like the :sunshine:!

                          Jeremy Falcon

                          1 Reply Last reply
                          0
                          • U User 11319743

                            What about security? Where I am working, we absolutely need to keep up with the latest versions of the .NET runtime and JVM because of security issues in older versions (yes, and patch the newer versions). I am currently working with VS 2015 update 3 but will move to 2017 as the software engineering organization moves to it.

                            M Offline
                            M Offline
                            Marc Clifton
                            wrote on last edited by
                            #42

                            Member 11354034 wrote:

                            What about security?

                            The IT department hasn't a clue. Oh sure, things are "secured" all over the place, requiring hoops to get access to a particular database or internal website. But that's about the extent of it. I'll have to add that to the "why we should upgrade the build server" reasons. Thanks!

                            Latest Article - Class-less Coding - Minimalist C# and Why F# and Function Programming Has Some Advantages Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

                            1 Reply Last reply
                            0
                            • R RandyBuchholz

                              C# 7.1. But I'm doing a "staff upgrade" on myself. The thing about new language features is not so much what one feature can add, but how together they change the way you code and think about solutions.

                              M Offline
                              M Offline
                              Marc Clifton
                              wrote on last edited by
                              #43

                              RandyBuchholz wrote:

                              The thing about new language features is not so much what one feature can add, but how together they change the way you code and think about solutions.

                              Yes!!!!

                              Latest Article - Class-less Coding - Minimalist C# and Why F# and Function Programming Has Some Advantages Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

                              1 Reply Last reply
                              0
                              • M Marc Clifton

                                Steve Naidamast wrote:

                                here is nothing really critically important in any of the new C# versions coming out.

                                Well, I'm noticing some open source projects that specifically target C# 7, like MoreLinq, though I suppose NuGet would resolve that, but I like to be able to build the latest OS code.

                                Steve Naidamast wrote:

                                or my military simulation development

                                Then again, the military probably frowns on using open source packages?

                                Latest Article - Class-less Coding - Minimalist C# and Why F# and Function Programming Has Some Advantages Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

                                S Offline
                                S Offline
                                Steve Naidamast
                                wrote on last edited by
                                #44

                                Marc: The new projects you mention that are targeting a specific C# platform are actually targeting that version of the .NET Framework that has that level of C#, since they are one and the same. As a result, you would have to install that version of the .NET Framework for the version of C# you are looking for...

                                Steve Naidamast Sr. Software Engineer Black Falcon Software, Inc. blackfalconsoftware@outlook.com

                                M 1 Reply Last reply
                                0
                                • S Steve Naidamast

                                  Marc: The new projects you mention that are targeting a specific C# platform are actually targeting that version of the .NET Framework that has that level of C#, since they are one and the same. As a result, you would have to install that version of the .NET Framework for the version of C# you are looking for...

                                  Steve Naidamast Sr. Software Engineer Black Falcon Software, Inc. blackfalconsoftware@outlook.com

                                  M Offline
                                  M Offline
                                  Marc Clifton
                                  wrote on last edited by
                                  #45

                                  Steve Naidamast wrote:

                                  As a result, you would have to install that version of the .NET Framework for the version of C# you are looking for...

                                  Yes, that thought occurred to me as I was driving to the grocery store. :)

                                  Latest Article - Class-less Coding - Minimalist C# and Why F# and Function Programming Has Some Advantages Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

                                  S 1 Reply Last reply
                                  0
                                  • M Marc Clifton

                                    Steve Naidamast wrote:

                                    As a result, you would have to install that version of the .NET Framework for the version of C# you are looking for...

                                    Yes, that thought occurred to me as I was driving to the grocery store. :)

                                    Latest Article - Class-less Coding - Minimalist C# and Why F# and Function Programming Has Some Advantages Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

                                    S Offline
                                    S Offline
                                    Steve Naidamast
                                    wrote on last edited by
                                    #46

                                    HOWEVER, if you have Visual Studio installed, BE VERY CAREFUL how you upgrade the .NET Framework. You must use an update specific for the Visual Studio version you are using or you could have serious issues with the IDE. I learned this the hard way... :(

                                    Steve Naidamast Sr. Software Engineer Black Falcon Software, Inc. blackfalconsoftware@outlook.com

                                    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