Alex Rivera | Logout

Exclamation point (!) in VB.NET

Asked 2010-10-27T19:45:12.587
12

The following code is designer generated:

Me.lblXRay.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))

What does 8.0! mean?

Edit
Report

1 Answer

7

It means type Single. See Single Data Type (Visual Basic) (under section Programming Tips).

answered 2010-10-27T19:52:32.383

Your Answer