Skip to content

MemoryStorage.Store(decimal)

Yi Zhang edited this page May 28, 2018 · 1 revision

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]

Clone this wiki locally