This is because Class1.Quicksort();
takes three arguments and you are passing 1. And also it does not return anything so doing numbers = Class1.Quicksort();
will not work.
You could overload or set optional/default parameters (thanks Silo ).
public static void Quicksort(IComparable[] elements,int left = 0, int right = 0)
or
public static void Quicksort(IComparable[] elements)
{
QuickSort(elements, 0,0);
}