We have 2 objects A & B: A is system.string and B is some .net primitive type (string,int etc). we want to write generic code to assign the converted (parsed) value of B
There is an overview of type conversions at MSDN where you can get more info about the topic. I've found it useful.