int[4,2] matriz= new int[4,2];
was programming this code and after compiling it throws an error that I cant declare the lenght of an array in a declaration, ok then I change the code to:
int[] numeros={0,1};
int[,] matriz= new int[4,2];
Now the compilation is succesfull so I add another line (yes Im a begginer) and this time I forgot to CAP the first random on the declaration:
int[] numeros={0,1};
int[,] matriz= new int[4,2];
random rnd = new Random();
But it throws 2 errors, one referring that he cant find "random" (missing cap) and other that was the same as before (and now has been corrected and the code is fine).
This is fustrating seems to be some issue with the cache, can I correct this anyhow or is it just a bug in the program?
Of course after I only change the Random first letter to a CAP it compiles correctly:
int[] numeros={0,1};
int[,] matriz= new int[4,2];
Random rnd = new Random();
Comment