C# and VB. Net Conversion [electronic resource]