Can someone please explain this code to me line by line? i looked at for loops but still dont understand :(

Public Class Form1

Private Sub btnInputNumber_Click(sender As Object, e As EventArgs) Handles btnInputNumber.Click For Lines = 1 To 4 For Stars = 1 To Lines RichTextBox1.AppendText("* ") Next Stars RichTextBox1.AppendText(vbNewLine) Next Lines End Sub 

End Class

submitted by /u/shurikenmight
[link] [comments]

Leave a Reply