CollectionUtilityMergeSortUnmanagedT(T*, Int32, ComparisonT, Boolean) Method |
Merge sort is a efficient sorting method. It divides input array in two halves, calls itself for the two halves and then merges the two sorted halves. Stable sort.
Namespace: NeoAxisAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic static void MergeSortUnmanaged<T>(
T* pointer,
int count,
Comparison<T> comparer,
bool multithreaded = false
)
where T : struct, new()
Parameters
- pointer T*
- count Int32
-
- comparer ComparisonT
- multithreaded Boolean (Optional)
Type Parameters
- T
See Also