[SOLVED] cs8025

Hello. I’m using Visual Studio 2017 and I got this error after creating:

void state_cell ()
{

}.

Error says “CS8025 Feature ‘local functions’ is not available in C#4. Please use language version 7 or greater.”

So I was trying to change language version I use, but I can’t. Whenever I try to access properties for my project it does not give my any option to change it. Could anyone help out? :slight_smile:

EDIT:
My problem got solved. I have included “{” one to much in my code. None the less, if someone knows how to use versoin 7 of C#, I would be grateful.

Privacy & Terms