This is my interface class:
public partial class POptions : object, System.Runtime.Serialization.IExtensibleDataObject
private static Interfaces.Entities.POptions _POptions = new Interfaces.Entities.Options();
The UI class declares this way:
pOptions = pForm.Variables["POption"] as Interfaces.Entities.POptions;
The situation is we need to make this multithreaded so multiple requests can be queued and processed when the previous request has completed (or failed).
I've been looking at ConcurrentDictionary and ConcurrentQueueu, but not sure if they are the best tools for this job or not.
Please let me know your advice.