1
Answer

problem in list<>

Ask a question
Hy all..can anyone among u plz help me out this code snippet's output..its not producing the desirable output .........
static void Main(string[] args)
        {
            int[] src = new int[3];
            src[0] = 1;
            src[1] = 2;
            src[2] = 3;
            int[] target = new int[3];
            Array.Copy(src, target, 3);


            foreach (int value in target)
            {
                Console.WriteLine(value);
                Console.ReadKey();
            }


        }

Answers (1)