سلام بر برنامه نویسان عزیز 😉 در این مطلب از وب سایت پروگرم 98 کد نمایش اطلاعات Thread (نام و Priority Level و Thread State و ID of current Context) در c#.net را آماده کردم. انشاالله که این آموزش برای شما مفید باشد.
کد نمایش اطلاعات Thread (نام و Priority Level و Thread State و ID of current Context) در c#.net :
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
class Program
{
static void Main(string[] args)
{
Thread primaryThread = Thread.CurrentThread;
primaryThread.Name = "ThePrimaryThread";
using System.Collections.Generic;
using System.Text;
using System.Threading;
class Program
{
static void Main(string[] args)
{
Thread primaryThread = Thread.CurrentThread;
primaryThread.Name = "ThePrimaryThread";