what is the meaning of the dollar sign after a method name in vb.net

前端 未结 3 1879
南旧
南旧 2020-12-05 02:12

what is the meaning of the dollar sign after a method name in vb.net

like this:

Replace$(\"EG000000\", \"0\", \"\")
3条回答
  •  半阙折子戏
    2020-12-05 02:43

    Old type notifier - see this

    Some other old ones:

    & -> Long
    % -> Integer
    # -> Double
    ! -> Single
    @ -> Decimal
    $ -> String
    

    Still exist in VB.Net for the sake of backward compatibility...

提交回复
热议问题