MemoryStorage.Store(decimal) - YiZhang-Paul/Mock_Up_Calculator GitHub Wiki
Namespace: StorageClassLibrary
Description: Stores arbitrary value by inserting it to the end of stored values list.
Parameters | Description |
---|---|
value<decimal> | value to store |
Returns | Description |
---|---|
void | this method does not return anything |
Examples:
var storage = new MemoryStorage(); //empty storage
storage.Store(2); //now contains [2]
storage.Store(6); //now contains [2, 6]
storage.Store(9); //now contains [2, 6, 9]