- Sep 10, 2001
- 12,348
- 1
- 81
I'm used to MATLAB where execution is line-by-line in the order of my code. However, I'm not sure if all languages are this way and I was wondering specifically if C# would somehow run things out of order. I ask because I have a program receiving data from a piece of hardware on interrupt. Once the data is received, it is thrown into a buffer. I added a "1" in the last column of the buffer at the very end of the interrupt function to check and see if it made it all the way through. When I look at the data, all of the rows have a "1" at the end, but some data seem to be missing and I'm not sure how that's possible unless the code is executing in an order different from the code.
edited for even greater confusion.
edited for even greater confusion.