I have a SPListItem, with different fields (string, lookup, etc), that I have to iterate them and do different actions depending of the type.
How can I detect if value is type String or type Lookup?
value = spListItem["nameField"]; // is string or lookup?