Şekil 1
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace WindowsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
int[] dizi = new int[10];
Random r = new Random();
for (int i = 0; i < dizi.Length; i++)
{
dizi[i] = r.Next(100);
listBox1.Items.Add(i + "-->" + dizi[i]);
}
}
}
}
//Bir sonraki makalede buluşmak üzere. Bahadır ŞAHİN
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace WindowsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
int[] dizi = new int[10];
Random r = new Random();
for (int i = 0; i < dizi.Length; i++)
{
dizi[i] = r.Next(100);
listBox1.Items.Add(i + "-->" + dizi[i]);
}
}
}
}
//Bir sonraki makalede buluşmak üzere. Bahadır ŞAHİN
0 comments:
Yorum Gönder