How to write following code in lambda expression or linq?
<p>I just want to know that how to write following code in lambda expression or linq. Please answer if you know.</p>

<pre><code>Process[] runingProcess = Process.GetProcesses();
ManagementObjectCollection moReturn;
ManagementObjectSearcher moSearch;

void func()
{                                                                          
    moSearch = new ManagementObjectSearcher("Select * from Win32_Product");  
    moReturn = moSearch.Get();
    foreach (ManagementObject mo in moReturn)
    {
        foreach (var process in Process.GetProcessesByName(mo["Name"].ToString()))
        {
            process.Kill();
        }
    }
}
</code></pre>