I’m having a problem where no matter what kind of object I type in code, Visual Studio won’t recognize the reference on a later line. For instance, right now I have
int[] listofsetups;
listofsetups = new int[4];
and when I put my mouse over the second listofsetups, it tells me “The name ‘listofsetups’ does not exist in the current context.” If I declare and create the array in one line, trying to access listofsetups on a later line will give me the same error message. The editor is doing this for every kind of object I try to create, so I’m suspecting it’s something to do with the editor although I restarted and updated it and that didn’t fix anything. Any help solving this problem would be much appreciated.