Weird Issue/Noob Question
Options
I cannot seem to access the await operator in LINQPad 4.47.02 on Windows 8 ... which is meant to have .NET 4.5 ...
Help?
Help?
Comments
-
What happens when you try?
Can you do this:await Task.Delay (1000); "Success".Dump();
-
That worked; turns out I was being an utter idiot ...
I was calling await from a non-async method
Sorry to waste your time -
At first LINQPad was only giving me this error:
The type or namespace name 'await' could not be found (press F4 to add a using directive or assembly reference)
Which is why I didn't realise that I was calling from a non-async method; complete rookie mistake