Visual Studio C#.Net – “A get or set accessor expected”

A get or set accessor expected

in Italian:

È prevista una funzione di accesso get o set

Solution:
You miss the parentheses on the method declaration

private void SampleMethod()
{

}

Did my solution solve your problem? Leave a reply.

3 thoughts on “Visual Studio C#.Net – “A get or set accessor expected””

Leave a Reply