I have a cube1, cube2, cube3 etc... variables and i want to use something like that:
for (int i = 1; i < 100; i++)
{
Location "cube + i" = new Location();
Console.WriteLine("cube + i + .GetX")
}
// GetX is a function that gives a random number