PROCESSOR COUNT IN C#

Ankit Singh

Total Post:341

Points:2389
Posted by  Ankit Singh
C# 
C#
 1246  View(s)
Ratings:
Rate this:

How can I count the processor in C#?

  1. Jeet Verma

    Post:110

    Points:776
    Re: Processor count in C#

    You Should use for getting the Processor count in C#

    static void Main(string[] args)

    {

       Console.WriteLine("You have {0} Processor(s) :: ", Environment.ProcessorCount);

       Console.ReadKey();

    }

      Modified On Oct-08-2013 12:54:42 AM

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!