Reputation: 1
I came across the following VB.Net code:
Dim Test as String = "9999"
Dim Test2 as String = Test$
What does $
mean in a string's name, such as is used in the second line?
Upvotes: 0
Views: 112
Reputation: 347
This is a Type Notifier, which identifies the usage of Test
as a string.
See also:
http://www.aivosto.com/vbtips/stringopt.html
what is the meaning of the dollar sign after a method name in vb.net
Upvotes: 1