I create a new 'web site' in Visual Studio 2017.
I'm trying to use the new Tuple syntax - I enter this directly into the code behind:
private (string a, string b) myfunc()
{
}
It says you can't use the new tuple syntax in C# 5. I set this app as .net Framework 4.7
Is it possible to set website apps as C# 7? This works fine in new MVC apps but not websites.
I can't find a clear way to set the C# version in Google. Seems bizarre this isn't easier to set?!
Is using tuples / C# 7 in a web site project possible?