I was implementing linear search for search in a collection then i thought why not use binary search, for which i had to use sorting.
Although I can implement them, but I would like to know where does they exists in .net itself. I hope it would be present in .Net.
I was implementing linear search for search in a collection then i thought why
Share
.NET has sorting implemented by default, but while you can specify the order in which you would like your elements sorted, you cannot specify the algorithm with which it sorts.
As such, you might be interested in this article which provides .NET code for abstractly sorting including implementations of every major sorting method.