I am converting a C++ project management program I wrote to C#. Each Protask
obect represent a task and includes two CTypedPtrList objects: the lists of
pointers to the prerequisite tasks and dependent tasks. There doesn't seem
to be an equivalent to the CTypedPtrList in C#. I'm not sure if ArrayList or
a List(T) generic would best fill the requirement. I am guessing that
regardless of which I use, I will need to use the unsafe keyword to use
pointers. Would a List(T) generic list be safer than an ArrayList?
Any thoughts would be most appreciated.
Bob
obect represent a task and includes two CTypedPtrList objects: the lists of
pointers to the prerequisite tasks and dependent tasks. There doesn't seem
to be an equivalent to the CTypedPtrList in C#. I'm not sure if ArrayList or
a List(T) generic would best fill the requirement. I am guessing that
regardless of which I use, I will need to use the unsafe keyword to use
pointers. Would a List(T) generic list be safer than an ArrayList?
Any thoughts would be most appreciated.
Bob