General function for two List<> : I have two List<> with the same field that I need to edit. How to write a common function for these lists?

    public List<?> CutField(List<?> list)
    {
        foreach(var element in list)
           {
             element.Field = // ;
           }
      return List<?>;
    }