How can I pass out a list in a argument?

example

public void DoSomething(string listToAddTo)
{
   listToAddTo.Add(gameobject);
}

Or can I pass a list in an argument?

You can pass the list directly as an argument.

public void DoSomething (List<string> myList)