implicit cast to return a single instance object

/*
the abillity to return a single instance for multiple objects using implicit cast
we defined 2 classes (class1 and class2) and we define 2 services (service1 and service2)
each service DoWork method should return a different object type (service1 return class1 and service2 return class2)

demand:
we want to share it to return a single instance with the ability to contains class1 or class2 in order to prevent unnecessary conditions in our code

solution:
we created a new class (class3) and defined 2 implicit converts (for both class1 and class2)
and set our services to return our new class3
that way we cound return a single instance for both services