Using "use" in views

Do I need to do this or can I put it in the controller?

I have tried putting it in the controller but it produces errors.

‘Use’ it where you need to use it.

For views it seems to work if you ‘use’ in the parent view and render a _partial view inside.

Yes but it does not work if used in the controller. Ok thanks for clarifying though.