locked
class object returns previously calculated value only.. Why it is like this?

    Question

  • Hi,

    I have created one class in which I am doing some calculations and storing those calculation in Dictionary object. Then in my main class I have created that object of above mentioned class and called the function that function returns above mentioned Dictionary object. Up to this it is fine. Now when I am again send some new input value to that function that time that function do not consider that new value and do not perform any calculations and directly returns previously calculated values in the Dictionary object.

    Why it is like this?

    Monday, June 23, 2014 3:21 PM

All replies

  • Can you post some code showing what you're doing?  There are a lot of different things that could be done to make the above situation happen.

    Darin R.

    Monday, June 23, 2014 6:01 PM