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 NullPointStrategies, Yesterday, 05:17 AM
        0 responses
        54 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        130 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        71 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        44 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        49 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X