基本的に私は静的共有メンバーを持つクラスを持っています。その静的共有メンバーを開始するために一度実行するコードが必要です。クラスのためにvb.netで一度コードを実行するには?
Class algorithm
Public name As String
Public lowPriceatNiceHash As Double
Public highPriceatNiceHash As Double
Public fixedPriceatNicehash As Double
Shared dictOfAlgorithm As Generic.Dictionary(Of String, algorithm)
End Class
dictOfAlgorithmディクショナリは、クラスの使用開始時に新しい空のディクショナリに設定する必要があります。 1回だけ。
https://msdn.microsoft.com/en-us/library/z2cty7t8.aspxを? –