JAVED IQBAL

JAVED IQBAL

  • NA
  • 9
  • 2.7k

problem in list<>

Jul 5 2013 1:14 PM
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)