You have two options:
Generics (which allows you to specify the type when calling the method ... and the object will be correctly entered in this method.)
public void MyMethod<T>(T myParameter)
{
}
MyMethod<int>(999);
MyMethod<bool>(false);
Or System.Object (this means that you will need to set the actual type of the object inside your method and execute it accordingly)
public void MyMethod(Object myParameter)
{
}
MyMethod(999);
MyMethod(false);