Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Can I use LINQ (C# 3.0 & .NET 3.0)?

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

    Can I use LINQ (C# 3.0 & .NET 3.0)?

    Since I must use NinjaTrader to compile my code, will I be able to use the latest C# and .NET functionality?

    Also, could you please have "Compile" as an option under the Strategy Analyzer's Right-Click on a .cs Strategy? As is stands now, I toggle between VS2008 coding and debugging (I prefer their code IDE / editor), then I must re-open the strategy file, Save and Compile, finally hitting OK to the warning about debuggin is slower than live ... just to see if there are errors. I could see fewer steps by at least having a "Compile" under the right-Click under Strategy Analyzer. Then if there are errors, auto-open the .cs file in NinjaTrader compiler and show the errors. Also, only warn of the debugging slowness per session of Strategy Analyzer (perhaps per .cs file / strategy) instead of each and every time.

    Thanks for your work on this great product.

    Brian

    #2
    No, you must use .NET 2.0. Thanks for the suggestion.
    RayNinjaTrader Customer Service

    Comment


      #3
      Thanks for the response. When might you migrate to .NET 3.0 and C# 3.0?

      Brian

      Comment


        #4
        NT7 will support .NET 3.5 and we are targeting beta for end of this year.
        RayNinjaTrader Customer Service

        Comment


          #5
          Thanks!

          Comment


            #6
            My computer has the 3.5 .NET version.

            1) How do I know if a feature is part of .NET 2.0 (a-okay-to-use-now), or part of the >= 2.0 and <= 3.5 .NET versions?

            2) Do I really need to worry about this if all my coding is done in ninjascript editor?

            (I assume I would only need to be concerned with this if doing all coding in VS and then later trying to compile in NT.)

            Comment


              #7
              >> Do I really need to worry about this if all my coding is done in ninjascript editor?
              No, provided you stay in scope what NinjaScript supports.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by CarlTrading, 03-31-2026, 09:41 PM
              1 response
              152 views
              1 like
              Last Post NinjaTrader_ChelseaB  
              Started by CarlTrading, 04-01-2026, 02:41 AM
              0 responses
              87 views
              1 like
              Last Post CarlTrading  
              Started by CaptainJack, 03-31-2026, 11:44 PM
              0 responses
              131 views
              2 likes
              Last Post CaptainJack  
              Started by CarlTrading, 03-30-2026, 11:51 AM
              0 responses
              127 views
              1 like
              Last Post CarlTrading  
              Started by CarlTrading, 03-30-2026, 11:48 AM
              0 responses
              106 views
              0 likes
              Last Post CarlTrading  
              Working...
              X