Permalink
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (24 sloc) 768 Bytes

Replace while statement with do statement

Property Value
Id RR0150
Title Replace while statement with do statement
Syntax while statement
Span while keyword
Enabled by Default

Usage

Before

while (condition)
{
}

After

do
{
} while (condition);

See Also

(Generated with DotMarkdown)