Last active
February 21, 2020 08:15
-
-
Save angelovstanton/27d3388049d9d7458d6b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class ArglistTest | |
{ | |
public static void DisplayNumbersOnConsole(__arglist) | |
{ | |
ArgIterator ai = new ArgIterator(__arglist); | |
while (ai.GetRemainingCount() > 0) | |
{ | |
TypedReference tr = ai.GetNextArg(); | |
Console.WriteLine(TypedReference.ToObject(tr)); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment