Jump to content

C# Dizideki Eleman Sayısını Alamıyorum


Recommended Posts

arkadaşlar dizi ye atanan degerleri sayini alamıyorum 5 eleman girdinmi labelde 5 sayını alamıyorum 

private void button1_Click(object sender, EventArgs e)
                   string[] personel = {""};
                   int sayac = 0;
                   for (int i = 0; i < personel.Length; i++)
                       personel[i] = textBox1.Text;


                       label1.Text+="Eleman İsimleri" + "  "+ personel[i].ToString()+"\n";
                       label2.Text = "Eleman Sayısı" + i.ToString();

arkadaş yardımcı olaiblecek kimse yokmu :?

Sorunu Çözdüm :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...