21.DIP generic Types Validator