One of our unit tests is to populate properties within our business objects with random data.
These properties are of different intrinsic types and therefore we would like to use the power of generics to return data of the type you pass in. Something along the lines of:
public static T GetData<T>()
How would you go about approaching this? Would a low level interface work? (IConvertible)