我绝对更喜欢使用Try
Dim tbval As Integer = Integer.Parse(textboxqitni.Text)
If tbval >= 0 And tbval <= 10000 Then
textboxittd.Text = tbval * 0.05
ElseIf tbval >= 10000 And tbval <= 30000 Then
difference = tbval - 10000
rate = difference * 0.1
textboxittd.Text = rate + 500
ElseIf tbval >= 30000 And tbval <= 70000 Then
difference = tbval - 30000
rate = difference * 0.15
textboxittd.Text = rate + 2500
ElseIf tbval >= 70000 And tbval <= 140000 Then
difference = tbval - 70000
rate = difference * 0.2
textboxittd.Text = rate + 8500
ElseIf tbval >= 140000 And tbval <= 250000 Then
difference = tbval - 140000
rate = difference * 0.25
textboxittd.Text = rate + 22500
ElseIf tbval >= 250000 And tbval <= 500000 Then
difference = tbval - 250000
rate = difference * 0.3
textboxittd.Text = rate + 50000
ElseIf tbval >= 500000 And tbval <= 999999999999999 Then
difference = tbval - 500000
rate = difference * 0.32
textboxittd.Text = rate + 125000
End If
Catch ex As Exception
MsgBox("Error Occured" & vbCrLf & ex.Message)
End Try
或VSCODE/IONIDE
的最小工具解决方案。
答案 0 :(得分:1)
dotnet new classlib -lang F# -n your_lib
怎么样? .Net标准2.0是默认的。我不确定你是否可以在VSCode GUI中做到这一点,但你确定可以使用集成终端。