mirror of
https://github.com/github/codeql.git
synced 2025-12-30 23:58:15 +01:00
14 lines
318 B
C#
14 lines
318 B
C#
class StringConcatenationInLoopFix
|
|
{
|
|
public static void Main(string[] args)
|
|
{
|
|
StringBuilder numberList = new StringBuilder();
|
|
for (int i = 0; i <= 100; i++)
|
|
{
|
|
numberList.Append(i);
|
|
numberList.Append(" ");
|
|
}
|
|
Console.WriteLine(numberList);
|
|
}
|
|
}
|