Simple error in void class

I’m having a simple coding problem with C#, i started learning it this week, but its really frustrating for me to use it, its been 4 days i’m trying to get the game to work, but i cant even start because of compilation errors :confused:

it may be really simple, but im still newbie at programming. thanks in advance and sorry if my writing is bad, i dont live in a english language country.

Image1
Image2

Line 6

public float speed = 10

you’re missing a ;

public float speed = 10;