In the Console class of the NET framework, Console.WriteLine() takes many different object types in as parameters. This is obvious when typing in Visual Studio and intellisense shows arrow keys with the different data types. Or in methods that take multiple parameters, you can see the intellisense description update depending on what object types are already entered
A screenshot to illustrate what I am trying to explain: 
How do I write a method that can take a multiple types in?