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 lightsun47, Today, 03:51 PM
    0 responses
    5 views
    0 likes
    Last Post lightsun47  
    Started by 00nevest, Today, 02:27 PM
    1 response
    10 views
    0 likes
    Last Post 00nevest  
    Started by futtrader, 04-21-2024, 01:50 AM
    4 responses
    46 views
    0 likes
    Last Post futtrader  
    Started by Option Whisperer, Today, 09:55 AM
    1 response
    14 views
    0 likes
    Last Post bltdavid  
    Started by port119, Today, 02:43 PM
    0 responses
    10 views
    0 likes
    Last Post port119
    by port119
     
    Working...
    X