CSharpProcedural.

AppendForLoop(StringBuilder, int, string, string) Method

Summary

Appends the opening of a for loop: for (int i = 0; i < length; i++).

Syntax

public static void AppendForLoop(StringBuilder text, int indent, string length, string iterator = "i")

Parameters

Name Type Description
text StringBuilder
indent int
length string
iterator string

Return Value

Type Description
void