using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; namespace ComboBox { public class Form1 : System.Windows.Forms.Form { private System.Windows.Forms.ComboBox comboBox1; public Form1() { this.comboBox1 = new System.Windows.Forms.ComboBox(); this.comboBox1.Items.AddRange(new object[] { "A", "B", "C", "D", "E", "F"}); this.comboBox1.SelectedIndex = 0; this.ClientSize = new System.Drawing.Size(136, 39); this.Controls.Add(this.comboBox1); } static void Main() { Application.Run(new Form1()); } } }