How to get children as GameObject into a List

Any of you knows how to get children of a gameObject into a list as GameObject?
I already know how to do it as Transform, but I can’t get it to work as GameObject.
Thank you!

You can do:

 using System.Collections;
 using System.Collections.Generic;
 using UnityEngine;

void Start(){
List<GameObject> directChildren = new List<GameObject>();
foreach(Transform childTransform in parentGO.transform){  // This will only find direct children

Or you can use Linq:

using System.Linq;
 public class MyClass : MonoBehaviour{

 List<GameObject> directChildren;

 void Start(){
   directChildren =  (from oneChild in GameObject.Find("ParentName").transform
                                select oneChild.gameObject).ToList();