評論

第一個有趣的事情是如何寫評論。

在 VB .NET 中,你可以通過編寫撇號或編寫 REM 來編寫註釋。這意味著編譯器不會考慮該行的其餘部分。

'This entire line is a comment
Dim x As Integer = 0 'This comment is here to say we give 0 value to x

REM There are no such things as multiline comments
'So we have to start everyline with the apostrophe or REM