Answers for "params string[]"

C#
0

params string

Actually, the params is just a syntactic sugar handled by the C# compiler, so that

this:

void Method(params string[] args) { /**/ }
Method("one", "two", "three");
becomes this:

void Method(params string[] args) { /**/ }
Method(new string[] { "one", "two", "three" })
Posted by: Guest on January-01-1970

Code answers related to "params string[]"

C# Answers by Framework

Browse Popular Code Answers by Language