Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

c# 6 support

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

    c# 6 support

    Hi

    Is there support for c# as this call fails to compile in script

    Log($"Line {index}",LogLevel.Error);

    #2
    Hello,

    Thank you for the post.

    Currently, there is support for up to C# 4.5 syntax in NT8. You would need to instead use String.Format for this type of formatting:
    Converts the value of objects to strings based on the formats specified and inserts them into another string. If you are new to the String.Format method, see Get started with the String.Format method for a quick overview.


    Please let me know if I may be of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    70 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    41 views
    0 likes
    Last Post PaulMohn  
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    166 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    101 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    165 views
    2 likes
    Last Post CaptainJack  
    Working...
    X