Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like this:

Replace$("EG000000", "0", "") 
like image 443
user288916 Avatar asked Dec 01 '11 12:12

user288916


People also ask

What does the dollar sign mean in VBA?

The dollar sign indicates a string will be returned instead of a variant.

Which symbol can be used in variable name in VB net?

In this article Use the following rules when you name procedures, constants, variables, and arguments in a Visual Basic module: You must use a letter as the first character. You can't use a space, period (.), exclamation mark (!), or the characters @, &, $, # in the name. Name can't exceed 255 characters in length.

What is dollar sign used for in C#?

In Interpolated Strings, the dollar sign ($) is used to tell the C# compiler that the string following it is to be interpreted as an Interpolated String. The curly braces encapsulate the values (of the variables) to include in the text.


1 Answers

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...

like image 184
Leon Avatar answered Oct 02 '22 17:10

Leon