c# - Why might this Tuple not work? -


in documentation section of site there piece on tuples , tuple support in c#7.0. in there simple example of tuple close start.

public (int sum, int count) gettallies() {     return (1, 2); } 

i added simple example class in project , have made sure system.valuetuple referenced , yet intellisense telling me not fit compile.

enter image description here

has seen sort of behaviour before , shed light on why might happening. in visual studio 2017.


Comments

Popular posts from this blog

python - RuntimeError: can't re-enter readline -

python - PyInstaller UAC not working in onefile mode -

php - Need to store a large amount of data in session with CI 3 but on storing large data in session it is itself destorying automatically -