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.
has seen sort of behaviour before , shed light on why might happening. in visual studio 2017.
Comments
Post a Comment