雖然該主題與變量有關
Public Class Class
Private _Variable
private Sub Method
dim variable
_variable
variable
End Sub
Private Sub Method
_variable
End Sub
變量_variable
同樣的規則也適用於代碼段中聲明的變量
Dim number
If number
Dim number
number
End If
這裡的number
For Each循環也有這種規則
For Each item As CartItem in Cart
Next
變量項是在語句當中聲明的
ASP
From:http://tw.wingwit.com/Article/program/net/201311/15199.html