Code blocks
Public Function Foo() As String
Dim i As Integer
i = 1
If i = 1 Then
Dim j As Integer
For j = 1 To 100
…
Next
End If
End Function
public string Foo ()
{
int i = 1;
if (i == 1)
{
for (int j=1;j <= 100,j++)
System.Console.WriteLine(j.ToString());
}
}
Previous slide
Next slide
Back to first slide
View graphic version