Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

declare multiple variables in for loop c#

for (var (i, j) = (0, (MyClass) 1); j < 3; i++, j++)
{
    Console.WriteLine(i);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #declare #multiple #variables #loop
ADD COMMENT
Topic
Name
5+6 =