I'm attempting to reflect the type onto a string value within a string array
using the following:
string[] types = { 'Int16', 'Boolean' }
string[] items = { '1', 'true' }
I could use a switch statement and go through every type and convert the item
that way, but surely theres a better way of doing it by reflecting the type
upon the item?
using the following:
string[] types = { 'Int16', 'Boolean' }
string[] items = { '1', 'true' }
I could use a switch statement and go through every type and convert the item
that way, but surely theres a better way of doing it by reflecting the type
upon the item?
Comment