A good and extensible way to do this is to make a dictionary of types and delegates of appropriate type, based on what you want to do with values of that type.
For example:
var typeProcessorMap = new Dictionary<Type, Delegate>
{
{ typeof(int), new Action<int>(i => { /* do something with i */ }) },
{ typeof(string), new Action<string>(s => { /* do something with s */ }) },
};
And then:
void ValidateProperties(object o)
{
var t = o.GetType();
typeProcessorMap[t].DynamicInvoke(o); // invoke appropriate delegate
}
This solution is extensible, configurable even at run time, and as long as you keep the keys and types of delegate values in typeProcessorMap
correctly matched is also type safe.
See it in action.