/ Published in: C#

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
static void ListArguments (params object[] arguments)  {     foreach (object argument in arguments)     {        Console.WriteLine (argument);     }  }    public static void Main( )  {     ListArguments ("Arguments: ", DateTime.Now, 3.14f);  } Â
URL: http://megasnippets.com/source-codes/csharp/call_variable_arguments
Comments
