R
Rene \(Programmer Wannabe\)
Sorry for reposting this question, I asked this a couple of days ago but got
no definite answer as to why the Array class behaves this way. Hope this
time I will have better luck. Please read below:
Why do I have to resort to using the static method of the array like this:
int[] someArray = new int[3];
Array.Sort(someArray);
Why wasn't the Sort method for the array implemented like this:
int[] someArray = new int[3];
someArray.Sort();
There are other classes that behave the same way and just curios to know the
reason behind this. Thank you.
no definite answer as to why the Array class behaves this way. Hope this
time I will have better luck. Please read below:
Why do I have to resort to using the static method of the array like this:
int[] someArray = new int[3];
Array.Sort(someArray);
Why wasn't the Sort method for the array implemented like this:
int[] someArray = new int[3];
someArray.Sort();
There are other classes that behave the same way and just curios to know the
reason behind this. Thank you.