CC#•Created by restock2009 on 11/4/2024 in #help Constructors, Classes
I have been learning about classes, and when trying constructors in VS Code it gives my an error, eventhough i wrote it exactly like in the course im taking.
class Dog(){
float age;
private Dog(){
Console.WriteLine("Guau");
age=42;
}
}