How do you pass a List<> of Lists<> to a background worker?
问题 I have a backgroundWorker that is processing two lists. I need to pass the Lists to the worker. the result is empty lists. Code to pass the Lists (and 2 other parameters). In my test, each list has 20+ items, and the List<> items show that the 20+ items are intact just prior to the call. In the inspector they say "Count" followed by the number of items. List<Object> arguments = new List<object>(); // Add arguments to pass to background worker arguments.Add(managerSource); arguments.Add