Code:
class Program
{
static void Main(string[] args)
{
Form1 f = new Form1();
f.comboBox1.Items.Add(new object[] {"Item1", "Item2"});
XmlSerializer XmlSerial = new XmlSerializer(f.comboBox1.Items.GetType());
XmlSerial.Serialize(Console.Out,
Leave a comment: