how to find out the path of the program using c#
<p>I found a snippet of code explaining how to use <code>System.Diagnostics.Process.Start</code> to run an external program in C#. The snippet shows running <code>cmd.exe</code>, which is in the path.</p>

<p>Let's assume that there is some external program (Beyond Compare for example). I don't know if it is installed on the PC. How can I check if this program is installed using C#? If the program is installed, I would like to find the path so that I can launch it.</p>
