public static void Main()
var b = new byte[6] {0,0, 0,0,0,1};
Console.WriteLine("Hello World" + GetInt(b, 2));
public static int GetInt(byte[] bytes, int offset) { return (bytes[offset] | bytes[++offset] << 8 | bytes[++offset] << 16 | bytes[++offset] << 24); }