private void button_Click(object sender, RoutedEventArgs e) { byte[] bytes = this.ConvertIntArrayToByteArray(this.GetIntArray()); int byteCount = bytes.Length; Console.WriteLine(byteCount.ToString()); } private int[] GetIntArray() { ] { , , , , }; }…