Automatic boxing and unboxing to pass an undetermined data type to a function