mirror of https://github.com/icsharpcode/ILSpy.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
419 B
25 lines
419 B
using System; |
|
|
|
namespace ICSharpCode.Decompiler.Tests.TestCases.PdbGen; |
|
|
|
public class ForLoopTests |
|
{ |
|
public static void SimplePrintLoop(string[] args) |
|
{ |
|
for (int i = 0; i < args.Length; i++) |
|
{ |
|
Console.WriteLine(args[i]); |
|
} |
|
} |
|
|
|
public static void SimplePrintLoopWithCondition(string[] args) |
|
{ |
|
for (int i = 0; i < args.Length; i++) |
|
{ |
|
if (i % 2 != 0) |
|
{ |
|
Console.WriteLine(args[i]); |
|
} |
|
} |
|
} |
|
}
|
|
|