MasterTR Posted May 17, 2011 Share Posted May 17, 2011 [code]Hashtable table = new Hashtable(); table["1"] = "Siirt"; table["2"] = "Ankara"; table["3"] = "İstanbul"; ArrayList al = new ArrayList(table.Keys); foreach (string anahtar in al) { Console.WriteLine(table[anahtar]); }[/code] Arraylistleri az da olsa biliyorum ancak hocanın işlediği gün okula gidemedim,şu code C# çalıştırmaya başldığımda bir hareket yok acaba ne işe yaradığı hakkında bilgi verebilirmi ? Quote Link to comment Share on other sites More sharing options...
babacık123 Posted May 17, 2011 Share Posted May 17, 2011 Valla kardes allah c# ın belasını versin bıktık ya şu dizilerden alt programlardan değişkenlerden stringlerden konuyu bende inceledim bişi anlamadım demekki o gün bende yokmşum Quote Link to comment Share on other sites More sharing options...
xekeru Posted May 17, 2011 Share Posted May 17, 2011 Anladığım kadarıyla belirtilen şehirleri listeliyor, herbiri için bilgi verilince onları alıp yerleine yazıyor.. ama ne amacla yazılmıs bir codlama oldugunu belirtsen mantıgı bu yönde daha rahat kullanabilirdik.. Quote Link to comment Share on other sites More sharing options...
MasterTR Posted May 17, 2011 Author Share Posted May 17, 2011 Bir Dizilerden Çekmişim Zaten Dostlarım 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.