In this post I assume you know what Priority List is, so this is just a code of PriorityList that uses MyArrayList for it’s implementation.
Code:
DOWNLOAD: PriorityList.cs DOWNLOAD: MyArrayList.cs
See also:
- Java: Generic PriorityList
- C++: PriorityList on templates