How do i Fix 'UnityEngine.component.rigidbody' is a property but a 'type' was declared?

I’m fairly new to unity and I’m going through the tank Tut,
and I finish the script for firing
but I get a error message ‘Unity Engine.Component.rigid body’ is a property but a ‘type’ was declared
and also a local variable ‘shell instance’ cannot be used before it is declared.
any help would be appreciated.

,

You need to post some code. You’re expecting someone to fix errors in code when we have no idea what it is you typed. These errors almost always say line numbers though. Check the line that the error is pointing to. Based on the error, it looks like you have a space in the variable name, or your case (upper/lower case) is wrong, or something.