using System;
public class Test
{
public static void Main()
{
string[] A = new string[] { "A", "B", "C", "D" };
string[] B = new string[A.Length + 2];
for (int i = 0; i < A.Length; i++)
{
B[i + 2] = A[i];
}
for(int i=0; i<B.Length;i++)
Console.WriteLine("Index: {0} Value: {1}", i, B[i]);
}
}
dXNpbmcgU3lzdGVtOwoKcHVibGljIGNsYXNzIFRlc3QKewoJcHVibGljIHN0YXRpYyB2b2lkIE1haW4oKQoJewoJCSAgICBzdHJpbmdbXSBBID0gbmV3IHN0cmluZ1tdIHsgIkEiLCAiQiIsICJDIiwgIkQiIH07CiAgICAgICAgICAgIHN0cmluZ1tdIEIgPSBuZXcgc3RyaW5nW0EuTGVuZ3RoICsgMl07CiAgICAgICAgICAgIGZvciAoaW50IGkgPSAwOyBpIDwgQS5MZW5ndGg7IGkrKykKICAgICAgICAgICAgewogICAgICAgICAgICAgICAgQltpICsgMl0gPSBBW2ldOwogICAgICAgICAgICB9CiAgICAgICAgICAgIAogICAgICAgICAgICBmb3IoaW50IGk9MDsgaTxCLkxlbmd0aDtpKyspCiAgICAgICAgICAgICAgICBDb25zb2xlLldyaXRlTGluZSgiSW5kZXg6IHswfSBWYWx1ZTogezF9IiwgaSwgQltpXSk7Cgl9Cn0=