VB CInt() convert to C# is an int cast but should be Convert.ToInt() - SharpDevelop Community
Recall the cast (int)(expr) is the wrong answer for VB CInt(expr) to C# -- i.e, should be Convert.ToInt32(expr) . Still, to answer the question, the following types for expr can be specified for the explicit cast to int (more to come :-) ): (int)(long_exp...