I am reading a string and matching this string to one of the enum values that I have in the following line:
(DataType)Enum.Parse(typeof(DataType), row[0], true);
Is there an alternative way or more effient way to match a string with enum ? I heard that this can be done using reflection, is that possible ? any hint ? would it be more effient ?