The error is quite specific. You've declared two classes with the same name Circle
in the same namespace. You can't do that. The compiler needs to be able to distinguish between the two classes, how can it do that if they have the same name?
I would recommend changing the name of the class that contains your Main entry point to something more appropriate, such as Program
.
Also, as good practice you should stick to generally accepted naming conventions and name your namespace Console
, rather than console
.