Best way to Resources.LoadAll GameObjects in folder to array C#

I am currently having trouble trying to load all my “block” references to instantiate from a “Blocks” folder inside the “Assets/Resources” folder. I can put them into an array, but instantiating from that array won’t work (not an instance error) and I feel this is due to how I am using LoadAll method. I have been wandering around the internet for answers, but every answer is different or brings an error. The only working piece I have even gotten is just :

blocks = Resources.LoadAll("Blocks") as GameObject[];

(blocks being predefined , and having this in Start() )

Idk if this is still relevant but this is what worked for me.

using System.Linq;
   
    void Awake()
    {
         blocks = Resources.LoadAll("Blocks").Cast<GameObject>().ToArray();
    }