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;
namespace SortedSet_CS
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
var data = new SortedSet<int> { 1, 13, 65, 23, 34, 34, 66, 43, 1, 12, 78, 24 };
this.listBox1.DataSource = data.ToArray();
}
}
}
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace SortedSet_CS
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
var data = new SortedSet<int> { 1, 13, 65, 23, 34, 34, 66, 43, 1, 12, 78, 24 };
this.listBox1.DataSource = data.ToArray();
}
}
}