Hi, I have just migrated to C#. I need some advice on the following
problem:
I need to create an object/structure with characteristics A,B and C. A
and B are Integers while C consists of 2 Integers. I need to store
data in these, every 5 sec or so, each value with a DateTime stamp/
index. I will need a method to write the value with the DateTime.
Another method to get the value for a specific DateTime. However, for
getting the value, there might not be a corresponding DateTime index.
In that case, the value closes to that time should be provided. What
is the best method of implementing this? I would require ten instances
of this object at any time. PLease advice.
Thanks
Maddy
problem:
I need to create an object/structure with characteristics A,B and C. A
and B are Integers while C consists of 2 Integers. I need to store
data in these, every 5 sec or so, each value with a DateTime stamp/
index. I will need a method to write the value with the DateTime.
Another method to get the value for a specific DateTime. However, for
getting the value, there might not be a corresponding DateTime index.
In that case, the value closes to that time should be provided. What
is the best method of implementing this? I would require ten instances
of this object at any time. PLease advice.
Thanks
Maddy
Comment