Professional Documents
Culture Documents
Microsoft Sample Program
Microsoft Sample Program
Numerics
End If
End Function
Dim r As Integer = 0
If Integer.TryParse(n, r) Then
r = CInt(n)
Else
txtOutput.Text += ($"----------------------------{vbCrLf}")
End If
Return r
End Function
Await GetResultAsync()
End Sub
'We need to run the method as a task to get Awaiter
End Function
Else
txtOutput.Clear()
Me.Refresh()
Next
End If
End Sub
End Function
End Class