Exclamation(!) operator used on a number in vb.net, what does this do? -



Exclamation(!) operator used on a number in vb.net, what does this do? -

i'm looking @ inherited code , found in vb.net windows form:

new system.drawing.sizef(6.0!, 13.0!)

my question is, significance of ! (exclamation) operator here? of searching exclamation operator ends returning recordset format or ! gets ignored in search , hundreds of unrelated items.

it's forcefulness literal single.

visual basic supports type characters:

in add-on specifying info type in declaration statement, can forcefulness info type of programming elements type character. type character must follow element, no intervening characters of kind.

and:

literals can utilize identifier type characters (%, &, @, !, #, $), can variables, constants, , expressions. however, literal type characters (s, i, l, d, f, r, c) can used literals.

vb.net

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -