ARRAYLIST

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 arraylist1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        Hashtable liste = new Hashtable();
        private void Form1_Load(object sender, EventArgs e)
        {
            liste.Add("ddd", "Deneme");
            liste.Add("001", "Diger");
            liste.Add(12f, true);
            liste.Add(DateTime.Now, "Tarih");
            ICollection ic = liste.Keys;
            foreach (object b in ic)

            {
            MessageBox.Show(b.ToString()+" : "+liste[b].ToString());
            }
        }
    }
}
 EKRAN GÖRÜNTÜSÜ



SON OLARAK


Yorumlar

Bu blogdaki popüler yayınlar

Php Scriptim

HTML Tabloda Cols Rows komutları