Convert PHP code to .net (C# or VB)

Closed