Script bug ("sript" is not a member of UnityEngine.Component)

( as script i will take the name : ExampleScript) So day 1 all my scripts were working right, i could play my game… But the day after i tried again. Opened up Unity and all my script got the error ExampleScript is not a member of ‘UnityEngine.Component’ how do i fix this… ?

All help appreciated…

It would help a lot if you could show us the script and where/how you’re using it.
Maybe you forgot to let your class inherit from MonoBehavior / ScriptableObject?