andruhovski icon

Test

andruhovski | PRO | 10/25/19 08:18:57 AM UTC | 0 ⭐ | 927 👁️ | Never ⏰ | []
C# |

230 B

|

None

|

0 👍

/

0 👎

using System;
                    
public class Program
{
    private static int[] a=new int[10];
    public static void MethodA(int[] arr)
    {
        arr=new int[5];
    }
    public static void Main()
    {
        MethodA(a);
        Console.WriteLine(a.Length);
    }
}

Comments