Answers for "c# error CS0515"

C#
1

c# error CS0515

error CS0515: 'Forest.Forest()': static constructor cannot have an 
access modifier

/*	This error usually means you labeled a static constructor
	as public or private, which is not allowed					*/
    
public static Forest() //causing error
static Forest() //fixing error
Posted by: Guest on March-05-2020

Code answers related to "c# error CS0515"

C# Answers by Framework

Browse Popular Code Answers by Language