I have two C# console application: A and B where console application A has a continuously running method which is filling integer values in a static circular queue-(StaticQueue).
In console application B,I have a circular queue again named as LocalQueue. I need to pull the values from the StaticQueue from Console Application A one at a time, check if the LocalQueue is empty or not in Console Application B, if not empty add the value pulled from StaticQueue into LocalQueue until the size of the LocalQueue is not met.
How can I achieve this in C#? Is there any way to do this?