我從來沒有真正學過VB.NET,你會如何在VB.NET中編寫它?你會如何在VB.NET中寫這個?
下面是代碼:
System.IO.StreamReader file = new System.IO.StreamReader(ofd_tracking_file.FileName);
while ((line = file.ReadLine()) != null)
{
}
難道是這樣嗎?
Dim file As System.IO.StreamReader = New System.IO.StreamReader(ofd_tracking_file.FileName)
While Not line = file.ReadLine() = Nothing
End While
不,轉換器不工作,我已經嘗試過。
你嘗試了嗎?它編譯了嗎?它運行正確嗎?此外,代碼似乎轉換罰款在這裏http://converter.telerik.com/ – DavidG
我不知道InlineAssignHelper是什麼? –
我在這裏找到了我的答案:http://www.c-sharpcorner.com/forums/inlineassignhelper –