Amit Padhiyar

Amit Padhiyar

  • 1.3k
  • 448
  • 6.5k

I want a method which can continuously generate bytes data

Aug 25 2021 6:18 AM

I am working on multithread application. Here I have algorithm which can create bytes array data. But i want to generate those data continuous in background of my application (some how in separate thread). I want to apply the priority on this function.

I have many ways but I want best way.

  • Async method
  • System.Timers.Timer
  • System.Threading.Timer

Can anyone tell me what will best? And Please give me some examples if possible. Thank you!


Answers (1)