To be honest, they don't have any way to find if you are copying unless it's a BIG part of your game. It's a challenge for you. And yes, they were saying all of it.
You can use the same methods/classes/properties from a tutorial or stack overflow to help you figure out what to code. As long as you don't just copy and paste then that's just learning to code in C# (or python or C++ etc), which is of course allowed.