What you really need is a Dictionary
. A dictionary can hold key-value pairs, which can later be retrieved by key name.
Dim KeyValues As Dictionary(Of String, String)
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
'' to fill the dictionary
KeyValues = New Dictionary(Of String, String)
Dim fileContents = IO.File.ReadAllLines("C:Test est.txt") '-- replace with your config file name
For Each line In fileContents
Dim kv = Split(line, "=", 2)
KeyValues.Add(kv(0), kv(1))
Next
'' to get a particular value from dictionary, say get value of "developer"
Dim value As String = KeyValues("developer")
MessageBox.Show(value)
End Sub
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…