lamont Posted November 9, 2014 Share Posted November 9, 2014 arkadaşlar Textbox girilen isimleri dizilere ekledim ama listbox göstermiyor sorun nedir ? private void button1_Click(object sender, EventArgs e) { string[] isim = { }; for (int i = 0; i < isim.Length; i++) { string ad = textBox1.Text; isim[i] = ad; listBox1.Items.Add(isim[i].ToString()); } Quote Link to comment Share on other sites More sharing options...
abdullahTR Posted November 9, 2014 Share Posted November 9, 2014 string[] isim = { }; böyle değil string[] isim = {" "}; böyle olcak Quote Link to comment Share on other sites More sharing options...
lamont Posted November 9, 2014 Author Share Posted November 9, 2014 abdullah eywallah çok saol kardeşim abdullah diziden eleman çıkarabiliyormuyuz ? Quote Link to comment Share on other sites More sharing options...
kaosem Posted November 9, 2014 Share Posted November 9, 2014 stack yapısına bak Quote Link to comment Share on other sites More sharing options...
lamont Posted November 9, 2014 Author Share Posted November 9, 2014 diziler heap bölgesinde tutuluyor diye biliyorum Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.