Back To The Basics And Beyond! Generic Methods and Multiple Constraints.
A couple of days ago I was asked if there was any way by which I could overload a method to "return" more than one type. If I was in a class room, or I was teaching a programming class (I've done that for some part of my life :)) my instant answer would have been "No." And then I would have proceeded to explain why the whole idea was not valid in the Object Orientation world. However, this question was not coming from a high school student. In all probabilities it was coming based on a practical ......
