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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        47 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        23 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        33 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        51 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        42 views
        0 likes
        Last Post CarlTrading  
        Working...
        X