Ramco Ramco

Ramco Ramco

  • 469
  • 2.8k
  • 392.6k

Loop the Process

Nov 28 2022 2:53 AM

Hi

  I have below code & i want that the process should be in loop . It should repeat 10 times

public static int Start(string processName)
        {
            var process =
                Process.Start("chrome.exe", @processName);
            return
                process.Id;
        }

Thanks


Answers (1)