In my code using reflections I wrote
if (f.FieldType.IsAssignableFrom("".GetType()))
I have a class that has implicit conversion to strings. However, the above if statement will not catch it. How can I do reflection / above if the catch statement of strings and classes with implicit string conversion? instead of specific lines and every class that I know of?
user34537
source share