I want to be able to reference a variable by what the user enters: For example:
Dim str1 As String = "sherrifs"
Dim str2 As String = "cowboys"
Dim str3 As String = "aliens"
Dim strUserInput As String
Console.WriteLine("Please enter a variable name: ")
strUserInput = Console.ReadLine()
If the user enters str1 then the output should be sherrifs etc.. How would I go about doing this in vb.net? Thanks