Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Why didn't compiler catch this ?

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

    Why didn't compiler catch this ?

    private void DrawTrendBrk( String tag,...

    Should have been

    private void DrawTrendBrk( string tag,

    #2
    The reference type "string" is just an alias of the underlying CLR type System.String. They can be used interchangeably.

    Learn about reference types that have C# keywords you can use to declare them.
    MatthewNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by alifarahani, Today, 09:40 AM
    6 responses
    27 views
    0 likes
    Last Post alifarahani  
    Started by Waxavi, Today, 02:10 AM
    1 response
    17 views
    0 likes
    Last Post NinjaTrader_LuisH  
    Started by Kaledus, Today, 01:29 PM
    5 responses
    13 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by Waxavi, Today, 02:00 AM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_LuisH  
    Started by gentlebenthebear, Today, 01:30 AM
    3 responses
    17 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X