creating new lists

Hi,
I’m stuck with a basic concept here,
I’ve got let’s say 3 lists of gameObjects:

List<Gameobject> circle1,circle2,circle3;

I want to fill them with a function, but i’d like to avoid to be redundant.

Instead of doing this :

void CreateCircle(){
 circle1= new List<GameObject>()
circle1.add(obj1);
circle1.add(obj2);
..repeat for the circle2, circle3
}

So I’ve tried

void CreateCircle(List<GameObject> circleList)
    {
        circleList= new List<GameObject>();
        circleList.Add(obj1);
        circleList.Add(obj2);
    }

and init with

CreateCircle(circle1);
CreateCircle(circle2)..

but the results are not what I’ve hoped for, as after CreateCircle(circle1) , if I try a circle1.Count , i get 0…
So I’m a bit lost…

Okk nevermind, solved like this

 List<GameObject> CreateCircle()
    {
        List<GameObject>circleList= new List<GameObject>();
        circleList.Add(Obj1));
        circleList.Add(Obj2));
        return circleList;
    }

circle1 = CreateCircle();
circle2= CreateCircle();