Wait?
Posted: Fri Nov 30, 2018 11:25 pm
Using a X#/Core app (build from the "Basic" sample, no references, no vo switches set) i was looking for an equivalent for Vo's "Wait" for Console.
Typing "Wait" and F9, i got error XS0103: The name '_Wait' does not exist in the current context.
Switching to "Wait()" it changed to error XS9002: Parser: unexpected input '_Wait( ()'
Obviously, there's some trickery at work ?
Now, to hinder my console to dissappear, i used System.Console.ReadLine(), but this is inconvenient: hitting any key, it writes to the screen, hitting Enter i get "type any key...", so to close the console i have first to target the Enter and then need another hit...
There used to be something (a switch?) for an implicit wait, but i can't find this anymore?
Typing "Wait" and F9, i got error XS0103: The name '_Wait' does not exist in the current context.
Switching to "Wait()" it changed to error XS9002: Parser: unexpected input '_Wait( ()'
Obviously, there's some trickery at work ?
Now, to hinder my console to dissappear, i used System.Console.ReadLine(), but this is inconvenient: hitting any key, it writes to the screen, hitting Enter i get "type any key...", so to close the console i have first to target the Enter and then need another hit...
There used to be something (a switch?) for an implicit wait, but i can't find this anymore?