S
Stuart
I have a Struct like this:
public struct SocketStruct
{
public int SerialNo1;
public long SerialNo2;
public int status;
public byte[] SomeData;
}
I need to put this into an array, and retrieve it with either SerialNo1
or SerialNo2, to get the other values.
Performance is the key issue - whats the most efficient way of doing it?
A Sorted list?
Stuart.
public struct SocketStruct
{
public int SerialNo1;
public long SerialNo2;
public int status;
public byte[] SomeData;
}
I need to put this into an array, and retrieve it with either SerialNo1
or SerialNo2, to get the other values.
Performance is the key issue - whats the most efficient way of doing it?
A Sorted list?
Stuart.