Assets\NewBehaviourScript.cs(10,15): error CS1501: No overload for method 'Log' takes 0 arguments

I’m new at coding and game developing uhm I have visual studio and unity 3d but when I open the script file I can’t write codes, Let me show you with Image, as you can see visual studio won’t verify the codes.

I wrote. What is wrong ? and another thing when I watch the education about unity programming, teacher opens a diffrent coding screen than mine. Like we’re using same things I checked like 5 times but still Mine is opening with visual studio but teacher’s coding screen opens with something else.,

I’m sorry maybe these kinda questions would be basic stuff but I don’t know where else to ask. Thank you for reading so far.

I tried couple things from internet but still no result.

A few things:

When posting code, post the actual code - not a screenshot. If somebody trying to help you needs to test it, they’re unlikely to type it in.

The code editor may be different - there are many options. Don’t be overly concerned by that - they mostly work in a similar way.

Now, regarding your question - the error states the problem. There’s no version of Debug.Log() which takes zero arguments. That method is used for displaying information in the debug log/console windows - you need to pass something to it.

What are you trying to do?

EDIT: If you’ve asked the question elsewhere, don’t post duplicate questions.