Get LogicalDrive

Jun 28 2008 12:08 PM
Hello, i want to get logical drive in ComboBox
i have this code
[CODE]
     DriveInfo[] Drive = DriveInfo.GetDrives();
            foreach (DriveInfo LogicalDrive in Drive)
            {

                comboBox1.Items.Add(LogicalDrive);

                switch (comboBox1.Items)
                {
               
                }
            }
[/CODE]
but i do not know what must bee in switch
switch (?)
thanks beforehand :)

Answers (3)