什么是VB.Net中的C#As关键字的等价物,如
var x = y as String; if (x == null) ...
这是
TryCast:
原文链接:https://www.f2er.com/vb/256509.htmlDim x As String = TryCast(y,String) If x Is Nothing Then ...