Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: VB.NET 等效于 C# var 关键字
我正在做 C# 现在我想了解 VB.Net,我想要与此等效的:
var result = loginForm.ShowDialog();
只需在Dim没有类型指示符的情况下使用。
Dim
Dim result = loginForm.ShowDialog()