Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

C# Language Version

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    C# Language Version

    I'm using NinjaTrader 8 and coding a fair amount in both the script editor and in Visual Studio. I noticed the LangVersion is set surprising low. I updated the NinjaTrader.Custom.csproj file to use LangVersion 7.3 and Visual Studio is fine with that, i.e. it compiles, but the NinjaScript editor does not and is still expecting an older version. Is there a way to upgrade the language version? It would add a lot of wonderful syntactic sugar that makes programming quicker and easier.

    ...Michael...

    #2
    masilver You should read this thread: https://ninjatrader.com/support/foru...58#post1178758

    Thanks.
    Multi-Dimensional Managed Trading
    jeronymite
    NinjaTrader Ecosystem Vendor - Mizpah Software

    Comment


      #3
      Hello masilver,

      NinjaTrader targets .NET 4.8 using C# 5.0.

      Below is a link to a forum post.
      Chelsea B.NinjaTrader Customer Service

      Comment


        #4
        Thanks for the response, everyone. I'll either build a DLL or await the next update of NinjaTrader

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        89 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        135 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        68 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        119 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        69 views
        0 likes
        Last Post PaulMohn  
        Working...
        X