Tagged Questions
2
votes
1answer
128 views
Is serialization better done in instance methods or static methods
Say I have a class workStockItem, that I wish to serialize.
Which is the better style?
using a static method
or
using a non-static method (maybe even implemented as a property as seen below)
...
-3
votes
1answer
562 views
Writing-Reading a hashtable to a text file
I'm implementing a hashtable structure for a dictionary. Dictionary is in a text file. There are 2 words on each line. I'm generating the hashtable by using the first word as a key. I'm holding the ...