1. 651.
    -1
    using system;
    using system. collections. generic;
    using system. componentmodel;
    using system. data;
    using system. drawing;
    using system. linq;
    using system. text;
    using system. windows. forms;
    using system. collections;

    namespace windowsformsapplication26
    {
    public partial class form1 : form
    {
    public form1()
    {
    initializecomponent();
    }

    private void button1_click(object sender, eventargs e)
    {
    hashtable yas = new hashtable();
    yas["salih"] = 32;
    yas["abdullah"] = 11;
    yas["hüseyin"] = 25;
    yas["murtazaa"] = 28;

    yas.add("first", 4);
    label1.text = yas. count. tostring();
    foreach (dictionaryentry element in yas)
    {
    string ad = (string)element.key;
    int yasi = (int)element. value;
    listbox1.items.add("ad" + ad + "yaşı" + yasi);

    }
    }
    }
    }
    ···
   tümünü göster