List<StockEntry> _stocks = new List<StockEntry>();
or any kind of Add?...
_stocks.Add(StockEntry("ABC", PeriodType.Minute, 5, 0));
I tried using just this...
StockEntry("ABC", PeriodType.Minute, 5, 0);
But got the error "StockEntry is a 'type' but used like a 'variable' "
So I looked at your reference and this below seemed to work, should I use this?...
StockEntry stockentry1 = new StockEntry("ABC", PeriodType.Minute, 5, 0);
Comment