start triangle in textbox vb.net


Public Class Form1
    Dim i, j As Integer
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        For Me.i = 1 To 5
            For Me.j = 1 To i
                txtdisp.Text += " * "
            Next
            txtdisp.Text += vbNewLine
        Next
    End Sub
End Class

start triangle in textbox vb.net start triangle in textbox vb.net Reviewed by Unknown on 11:51 am Rating: 5

No comments: