Hi @Nivedita2,
use Dictionary
Dictionary dict= new Dictionary(Of String, String), if both your key and value are strings.
Key=i.Split("="c)(1).ToString()
value=i.Split("="c)(1).ToString()

Dict(“CompName”).ToString ->it will return the value as Hello
Regards,
Arivu