MemoryStorage(IEnumerable decimal ) - YiZhang-Paul/Mock_Up_Calculator GitHub Wiki
Namespace: StorageClassLibrary
Description: Initializes an instance of MemoryStorage class with stored data.
Parameters | Description |
---|---|
values<IEnumerable<decimal>> | all values that are stored in the storage |
Examples:
decimal[] values = { 2, 4, 6, 8 };
var storage = new MemoryStorage(values); //the storage now contains [2, 4, 6, 8]
Remarks:
This constructor is mostly intended for testing purpose.