Instantly share code, notes, and snippets.

Embed
What would you like to do?
Dim hoge As Integer
hoge = DirectCast(IIf( TextBox1.Text = "", 0, Integer.Parse(TextBox1.Text) ), Integer)
hoge = If( TextBox1.Text = "", 0, Integer.Parse(TextBox1.Text) )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment