How to create implicitly typed variable of scope public. I want to create a variable having public scope,whose data type will be decided at run time I.e based on the value assigned to it.