Object Pascal <-> C# | Block statement
Object Pascal
.
C#
{ }
Description
{}{statement}{statement statement}Input
- statement - statements
Examples
C#
Block statement the possible of use:y=10;
if (x>1)
{
x=1;
y=y-1;
}
while (y>1)
{
x++;
y--;
}
Block statement in another programming language:
Differences to: