Convert PHP Code To C#.Net
<p>I have a sample code on PHP.I need to be convert that PHP code to  C#.Net 3.0.</p>

<p>Please help me,If it is there any either converters or tools to perform this task.</p>

<p>Thank you in advance....</p>
