07-11-16, 01:42 PM
هذا السؤال
Write a program which inputs two strings from the user, and which joins them together. Show the resulting string and its length in labels.
وهذا الكود
كود :
Private Sub joinsButton1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles joinsButton1.Click
Dim a(1) As String
Dim b, c As String
a(0) = string1TextBox1.Text
a(1) = string2TextBox2.Text
b = b.Join(a)
resultLabel3.Text = b
c = b.Length
lingthLabel1.Text = c
End Sub
في البداية يدخل المستخدم 2 string والبرنامج راح يجمعهم مع بعض مشكلتي في البرنامج يطلع لي ال a خطأ في الjoin و الطول مايطلعه ابدا وين تكون المشكله