Cannot implicitly convert type 'SelectedList' to 'UnityEngine.GameObject'

I am attempting to write a script which searches all gameobjects with this script assigned for the bool Selected which becomes true when clicked on. It is supposed to return whichever object currently has it to true as it checks every update. Currently I am receiving the error "Cannot implicitly convert type 'SelectedList' to 'UnityEngine.GameObject'" but I can’t place why this is coming up.

This is my script:

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

public class SelectedList : MonoBehaviour
{
    static List<SelectedList> objectList;
    private ItemInteract iteminteract;
    public static GameObject found;
    

    void Awake()
    {

        if (objectList == null) 
            objectList = new List<SelectedList>();
        AddToList(this); 
    }

    void Update()
    {
        found = GetSelected();
    }

    void AddToList(SelectedList classObject) 
    {
        if (!objectList.Contains(classObject)) 
            objectList.Add(classObject);
    }

    

    public static SelectedList GetSelected()
    {
        return objectList.Find(x => x.GetComponent<ItemInteract>().Selected = true);
        
    }
}

found is type GameObject but the method GetSelected() returns type SelectedList.

You can change the method to return a gameObject like this:

public static GameObject GetSelected()
{
   return objectList.Find(x => x.GetComponent<ItemInteract>().Selected = true).gameObject;
}

In line

void Update()
{
    found = GetSelected();  //<---
}

you are returning object of type SelectedList, not GameObject. If you want the object this component (SelectedList) is attached to you need to add .gameObject at the end of it such as:

void Update()
{
    found = GetSelected().gameObject;
}

Hope this solves your problem.