static void randomize(Pora[] arr,int n, int seed)
    {
        arr = new Pora[n];
        Random rand = new Random(seed);
        for (int i = 0; i < n; i++)
        {
            arr[i].integer = rand.Next();
            arr[i].doubl = rand.NextDouble();
        }
    }
I try to get random values for my pairs of int and double but I seem to get an error.
