I an reading a txt file line by line and putting it in to a Queue<string> q = new Queue<string>();
when i execute the program I get a Argument Exception 'Source array was not long enough. Check srcIndex and length, and the array's lower bounds.' how do i handle it
i need to implement the program to that the txt reads and put it into a FIFO queue.
how to i do this?
appreicate a reply