<p>In C and C++ you can tell the compiler that a number is a 'long' by putting an 'l' at the end of the number.
e.g long x = 0l;</p>

<p>How can I tell the C# compiler that a number is a byte?</p>

```
```
byte b = (byte) 123;
```
```
even though
```
```
byte b = 123;
```
```
does the same thing. If you have a variable:
```
```
int a = 42;
byte b = (byte) a;
```
```