FuzzySort
Code Example
// Create the ComboBox
var myComboBox = new ComboBox()
{
Width = 250,
Location = new System.Drawing.Point(20, 20)
};
// Add items
myComboBox.Items.AddRange(new object[]
{
"Apple",
"Banana",
"Grape",
"Pineapple",
"Orange",
"Apricot",
"Blueberry",
"Blackberry"
});
// Apply fuzzy sort extension
var sortedComboBox = FuzzySort.ApplyFuzzySort(myComboBox);
// Add to page
this.Controls.Add(sortedComboBox);
How To Use
Last updated
Was this helpful?