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

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -