Hi Jobson,
Welcome to our community! 
Christopher is right. You don’t want to call (.) the GetComponent method on the object assigned to rb. Instead, you want to assign (=) a Rigidbody2D object to rb.
Remember you can also look at the lecture code changes via the link in the Resources of each lecture.
See also:
- Forum User Guides : How to mark a topic as solved