Jump to content

Jupi

Members
  • Posts

    1,474
  • Joined

  • Last visited

Posts posted by Jupi

  1. مثال مطبق علي مشروع من نوع كونسل

    :P

    using System;
    using System.Threading;
    
    namespace Test
    {
    	class MainClass
    	{
    		public static void Main(string[] args)
    		{
    			for (int Index = 0; Index <= 100000; Index++)
    			{
    				Console.WriteLine(Index);
    				Thread.Sleep(1000); // نوقف تنفيذ الثريد الحالي فترة مقدارها ثانية قبل الانتقال للدورة الاخرى من الحلقة
    			}
    			Console.ReadKey();
    		}
    	}
    }

    بلتوفيق

    • Thanks 2
×
×
  • Create New...