I have a static dictionary in my class which holds 12000 values. When I try to save my class I need to refresh and add some data in static dictionary at server side.

The problem is that after adding the values into static dicitionary, it still retains 12000 values, not 12001 (the last one doesn't get added). It's not able to serialize and deserialize the static member.

I think, as static member are not part of the object, so it doesn't get seralized. I can implement `ISerializable` interface and add the last member. But I think it's not a good idea.

Is there a better way to do that? I'm working on C# Windows application.