using System;
class Program
{
static void Main() {
var arr = new byte[10];
for (int i = 0; i < arr.Length; i++) {
arr[i] = (byte)(i * 2); // Cast int to byte
}
for (int i = 0; i < arr.Length; i++) {
Console.WriteLine(arr[i]);
}
}
}
/*
run:
0
2
4
6
8
10
12
14
16
18
*/