How to put values into checkedlistbox in c#?

90 views Asked by At

c# learner here.

I have found this code. It shows running processes in console. I want to show processes in checkedlistbox.

Process[] processlist = Process.GetProcesses();

foreach(Process theprocess in processlist){
Console.WriteLine(“Process: {0} ID: {1}”, theprocess.ProcessName, theprocess.Id);
}
0

There are 0 answers