我需要帮助创建一个打开文件的函数,并为每一行创建一个变量,如explode("\n", $var)
PHP。我试过了
Dim words As String = GetFileContents(OpenFileDialog1.FileName)
For Each word As String In words
Dim doHash As String = MD5(word)
If String.Equals(doHash, hash.Text) Then
Label2.Text = "derp"
Else
Label2.Text = "lol"
End If
Next
但它使每个字母成为一个新变量。