• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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.

    https://msdn.microsoft.com/en-us/library/362314fe.aspx
    MatthewNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Serge A, Today, 04:03 PM
    0 responses
    2 views
    0 likes
    Last Post Serge A
    by Serge A
     
    Started by horace chow, Today, 04:00 PM
    0 responses
    2 views
    0 likes
    Last Post horace chow  
    Started by JBTrader2005, Today, 03:57 PM
    0 responses
    2 views
    0 likes
    Last Post JBTrader2005  
    Started by Austiner87, Yesterday, 09:29 PM
    1 response
    18 views
    0 likes
    Last Post NinjaTrader_Kate  
    Started by webus, Today, 03:34 PM
    0 responses
    9 views
    0 likes
    Last Post webus
    by webus
     
    Working...
    X