C# - Killing a process by a part of it's name
<p>I'm searching for how to do it in C#, like this :</p>

<pre><code>foreach (Process proc in Process.GetProcessesByName("cheatengine-x86_64"))
{
    proc.Kill();
}
</code></pre>

<p>I am using this statement, but there are different versions of the program, like just cheatengine or cheatengine-x86, I'd like to close any of these, by starting with the name 'cheat', or just 'cheate', just to avoid the older versions.</p>
