I have a simple conversion program (my "Learn C#" program).

I have a 2 column listview. The user enter an amount in a text box (txtUnits). Tehy selecty a "convert from" unit of measure. The program then converts the value to various new units of measure and populates the listview.

This is my code for one of the subroutines:

this.listView2.BeginUpdate;
listView2.Items.Add("");
listView2.Items(0).subitems.add((singleparse(txtUnits.Text) * .4047).ToString("N5"));
listView2.Items(0).subitems.add("Hectares");
this.listView2.EndUpdate;

This is almost verbatum from the VB.NET code. Can someone help me with the correct syntax? I can then change all my other routines to run properly.