Reputation: 9488
I'm interested in only in-process communication. How to avoid serializing messages and send them just by reference?
UPD
Another side of this question: how to convert C# reference to byte[] and byte[] to C# reference?
Upvotes: 0
Views: 274
Reputation: 2861
A message queuing system is designed for inter-process communication. For communication within an application there are several options. For a class Producer-Consumer problem, take a look at the BlockingCollection class.
Here's an overview.
Upvotes: 1