I have tried to look at it about 20 times but can't find any issue. Please bear in mind that I am a bit novice for c-sharp.
The console part works fine so my StoreArray is not having any problem but there is no output to the file.
Thanks in advance.
string tempfilename = "F:\\Research\\Out_1_TickData.csv";
outfileName = @tempfilename;
StreamWriter outStream = new StreamWriter(outfileName, true);
for (int p = 0; p < Row_StoreArray; ++p)
for (int q = 0; q < Col_StoreArray; ++q )
Console.Write("," + StoreArray[p, q]);
outStream.Write("," + StoreArray[p, q] );