If I can't use .N开发者_StackOverflow社区ET 4, are there any alternatives?
You could just use the standard Queue<T> and use a Monitor (lock) to synchronize access to the queue. 
Mono. (source code link is from 2009, you might want to look it up on github)
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论