Let's say I have several different lists of objects:
typeA[] Alist = [ ... ];
typeB[] Blist = [ ... ];
typeC[] Clist = [ ... ];
And I want to perform the same operation on each list:
for (List<SObject> xx : [ Alist, Blist, Clist ]) {
doTheThing(xx);
}
What is the correct syntax?