Visual Studio Code – Why does a class definition in one cell not recognize another class's fields made in another cell?
I used a Visual Studio Code's Polyglot notebook and wrote the following in 3 separate cells, in the order indicated below. Cell 1: class Z; Cell 2: class A { public static void f() { Console.WriteLine(Z.x); } } Cell 3:…