Visual C++ .NET <-> Visual Basic .NET | Assignment
Visual C++ .NET Used keywords: =
=
Description
var =expression;
Input
- var - value receiver
- expression - Expressions
Output
- Result - Any
Examples
Visual C++ .NET
Assignment the possible of use:x = 1.234; // x = 1.234
y = x * 3.14; // y = 3.87476
if (y<5)
y = y/ 3.14; // y = 1.234
.
Visual Basic .NET Used keywords: =
=
Description
var =expression
Input
- var - value receiver
- expression - Expressions
Examples
Visual Basic .NET
Assignment the possible of use:x = 1.234 ' x = 1.234
y = x * 3.14 ' y = 3.87476
if y<5 then
y = y/ 3.14 ' y = 1.234
end if
Assignment in another programming language:
Differences to: