Hi, this is working in the VS2015, How to modify below code to 2012? (job?.Id > 0)
var job = await c.CreateJob(42626, 52.24525033130513, -0.8287811279296875);
(job?.Id > 0)
I tried using below
(job.Id > 0)
But no results
C#
Last Comment
lankapala
8/22/2022 - Mon
zephyr_hex (Megan)
This has nothing to do with the version of Visual Studio.
We can't answer the question unless we know what c is, and what c.CreateJob does.
Well, yes and no. MS often releases versions of the language in conjunction with the IDE. If a version of an IDE doesn't support the syntax, then it will not know how to treat it. Try using async/await in VS 2008 and you'll see what I mean : )
We can't answer the question unless we know what c is, and what c.CreateJob does.