Alpha.cs 407 B

1234567891011121314151617181920
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace StressClient
  7. {
  8. class Alpha
  9. {
  10. public void Beta()
  11. {
  12. while (true)
  13. {
  14. Console.WriteLine("Alpha.Beta is running in its own thread.");
  15. System.Threading.Thread.Sleep(2000);
  16. }
  17. }
  18. }
  19. }