How do I convert CRT file and private key to PFX, or get a PFX certificate
This article provides more information of how to create a PFX file from CRT and Private key file (.Key)
Tool to convert from VB.NET to C#
DeveloperFusion offers a free .NET code converter