-
Notifications
You must be signed in to change notification settings - Fork 1
How to Contribute
Tanimul Haque Khan edited this page Aug 28, 2021
·
2 revisions
- Create a new branch with the name of the sorting algorithm to be added
- Add your
{SortingAlgoName}.cs
file insideDTD.Sort.Net.Algorithms
. If it's common put it in common folder otherwise uncommon. - Make your class
internal
and add: ISort<T> where T:IComparable<T>
- Implement the interface.
- Make sure you use the
sortOrder
in your implementation. - Add your new sorting class in
SortLibrary
dictionary found atSortFactory.cs
- Run tests
- If all cases pass create a PR