Instantiate a prefab problems

I don’t think I am understanding how to instantiate a prefab correclty in c#.

In my project I have a prefab called PlayerProjectilePrefab.

In my code I do:

Object prefab = Resources.Load(“PlayerProjectilePrefab”);
Instantiate(prefab);

but the object is being set to null. Any ideas what is happening here?

Thanks

Ah got it, I needed to place my asset in the Assets/Resources folder