R
R
rad952020-02-22 11:44:49
C++ / C#
rad95, 2020-02-22 11:44:49

How to store objects of type Process and arrays in the same collection?

When I get all processes using the GetProcesses() method, I see that some processes have the same name. And I need to store single processes and arrays of processes with the same names in the collection. That is, like this:

{SearchUI, DevEnv, Explorer, [svchost, svchost, svchost, svchost], [firefox, firefox, firefox, firefox, firefox}, ]

These arrays are needed to find out the ID of each process separately

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question