Try this, it will definitely help you
Class can have a public method for particular data type conversions.
Boo(int i )
double i = BooObject; // assigning object to variable i of type double.
now conversion operator gets called to assign the value.