using System; static void ListArguments (params object[] arguments) { foreach (object argument in arguments) { Console.WriteLine (argument); } } public static void Main( ) { ListArguments ("Arguments: ", DateTime.Now, 3.14f); }