1 Dim x as Integer? = Nothing
2 If x = Nothing Then
3 'this is what I think will happen
4 Else
5 'this is what really happens
6 End If
正しい書き方は「If x Is Nothing」です。
これをチェックする FXCop ルールはありますか? それとも、誰かが自分で書く方法を教えてもらえますか?
ジョナサン