what i want to do is to automatically create some object.
In Java, class can be pass as parameter, for example
Class A{ } Object createObjectBy(
Use the class Type. You can return an instance of it by call
obj.GetType();
or without an object instance
typeof(className);
I hope it helps.