C <-> Visual Basic .NET | Single line comment
C Used keywords: //
//
Description
//
Data:
- text -
Examples
C
Single line comment the possible of use:x = 5 * y; // x = xy
// y = 123;
if (x > 0) // x == true
x=5;
.
Visual Basic .NET Used keywords: '
'
Description
'
Examples
Visual Basic .NET
Single line comment the possible of use:x = 5 * y ' x = xy
' y = 123;
if x > 0 then ' x == true
x=5
end if
C Used keywords: //
//
Description
//
Data:
- text -
Examples
C
Single line comment the possible of use:x = 5 * y; // x = xy
// y = 123;
if (x > 0) // x == true
x=5;
.
Visual Basic .NET Used keywords: rem
REM
Description
REM
Examples
Visual Basic .NET
Single line comment the possible of use:x = 5 * y ' x = xy
' y = 123;
if x > 0 then ' x == true
x=5
end if
Single line comment in another programming language:
Differences to: