C# - variable use

using variables, you can access the data stored in a variable, can be used to store or retrieve the value.

variable use

Description

name
Data:
  • name -

Output

Examples

C#

variable use the possible of use:
x = (float)64 / 8;   // x=8
y = x / 0.5;   // y=16
z = ((float)(x * 2) / y +5);// z=1.1

C#

a && b
a || true
!a

C#

Other pieces of example codes:
x < y
!a
a = 5 < 10
i % 4
x = 0x1234
i / 0x0a

you can find it in the following collections: value receiver | value sender
Languages: en hu cz sk