Home

c#7 ?

edited April 2017
Release notes say that c# 7 is fully supported. The following snippet works in VS2017 but does not work in LinqPad5:
class Test
{
(string, string, string) MyTest(long id)
{
return ("a", "b", "c"); // tuple literal
}
}
LinqPad complains:
CS1518: Invalid token '(' in class, struct, or interface member declaration.
What am I doing wrong?

Comments

Sign In or Register to comment.