Why does C# use int for indicing of elements for example result = arr[(int)index];
?
This is for me illogical because indices can't be negative.
The same is also true for example for int rand = random.Next((int)max)
, why is the parameter an int even if it can't be negative?