I think I outsmarted myself this time. Feel free to edit the title also I could not think of a good one.
I am reading from a file and then in that file will be a string
Use typeof(T) == typeof(string)
typeof(T) == typeof(string)