What is an alternative of Convert.ToInt32 in VB.Net?

 Posted by vishalneeraj-24503 on 1/23/2014 | Category: VB.NET Interview questions | Views: 2577 | Points: 40
Answer:

We use CINT in-built VB.Net functionto convert values into Integer.It works exactly as Convert.ToInt32 function.

int number = Convert.ToInt32("1");

int number = CINT("1");


Both expressions are same.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response