>>Error 1 The name 'CreateValues' does not exist in the current context
Does CreateValues function exists. If it does, is it static. If not, either make it static or remove static from GetStockValues.
>>Error 2 Operator '!=' cannot be applied to operands of type 'ReadCsvFile.DailyValues' and null
Is DailyValues struct ? You cannot apply null check to struct.
if (v != null)
if (v != default(DailyValues))
>>Error 3 The name 'rows' does not exist in the current context
Where are rows ? It is missing. The error is self explanatory. Add a variable rows (which should have IEnumerable implemented on data type (some list/array is simple words))