C# 7.0 'out variables' in Visual Studio 2015 -


this question has answer here:

i compile c# 7.0 solution in visual studio 2015, have syntax error:

error

errormessage : 'datetime' type used variable.

this related 'out variables' changed in c# 7.0

unfortunately can not use vs2017 (community) , this tutorial - not working (master branch adapted vs2017 now).

do have idea how solve problem?

you need declare datetime variable outside call , pass parameter out keyword this:

datetime yuorparam; method( ..., ..., out yourparam); 

Comments

Popular posts from this blog

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

html - How to custom Bootstrap grid height? -

transpose - Maple isnt executing function but prints function term -