use the following code : float f1 = float.Parse(textBox1.Text.Trim());
vb is not object-oriented language c# is afull object-oriented language
Access to Unsafe code. This allows pointer arithmetic etc, and can improve performance in some situations. However, it is not to be used lightly, as a lot of the normal safety of C# is lost (as the name implies).This is the major difference that one can access unmanaged code in C# and not in VB.NET.
Both are programming language.just the common difference of ; at the end of the statement or syntax.