How to remove the first item from a non-foreach array.
I have tried this, but it says that there is no remove or removeAt method.
int[] arr = {1,2,3,4,5};
var removeu = Array.Remove(arr,0);//Agora percebi que isso é javascript, rs
This gives error. How I do? I passed this to a list, but it made a mistake too.
List<int> lista = new List<int>(arr);
lista.Remove(0);
// The zero here is not the first index.
How do I do it now?