Question:You are required to retrieve and display the names of all processes that are currently running in
memory.
What should you do? - (VB.Net) 

A Use the following code:
For Each curProcess As Process In Process.GetSystemProcesses()
Console.WriteLine(curProcess.ProcessName)
Next 

B Use the following code:
For Each curProcess As Process In Process.GetAllProcesses()
Console.WriteLine(curProcess.ProcessName)
Next 

C Use the following code:
For Each curProcess As Process In Process.GetProcesses()
Console.WriteLine(curProcess.ProcessName)
Next 

D Use the following code:
For Each curProcess As Process In Thread.GetProcesses()
Console.WriteLine(curProcess.ProcessName)
Next 

+ Answer
+ Report
Total Preview: 766

Copyright © 2024. Powered by Intellect Software Ltd