C#.NET Microsoft Visual Studio

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

You miss the parentheses on the method declaration

private void SampleMethod()


Did my solution solve your problem? Leave a reply.

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

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.