|Please support C# 7.0
|Page 1 of 1|
|Author:||wukan [ Sat Aug 04, 2018 10:45 am ]|
|Post subject:||Please support C# 7.0|
I try to use code:
public (string,string) Output()
but get error.
Invalid token '(' in class, struct, or interface member declaration
Invalid token ',' in class, struct, or interface member declaration
Invalid token ')' in class, struct, or interface member declaration
Method must have a return type
compilerParameters.CompilerOptions = "/langversion:7";
get error too.
Invalid option '7' for /langversion; must be ISO-1, ISO-2, 3, 4, 5 or Default
it will success.
|Page 1 of 1||All times are UTC + 3 hours|
|Powered by phpBB® Forum Software © phpBB Group