I want create two process let's say process A and process B .
And I want to run them Simultaneously .
How to do it if at all it is possible ?
I want create two process let's say process A and process B .
And I want to run them Simultaneously .
How to do it if at all it is possible ?
 
    
    Thanks to Masih's post i got some idea and came up with this :
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
namespace proces
{
    class Program
    {
        static void Main(string[] args)
        {
            create_process__A("Balotelli");
            create_process__B("Pirlo");
        }
         static void create_process__A(string t)
        {
            Process.Start("http://google.com/search?q=" + t);
        }
         static void create_process__B(string t)
         {
             Process.Start("http://google.com/search?q=" + t);
         }
    }
}
 
    
     
    
    I write a Little Sample for you That You Can Use:
using System;
using System.Threading;
class Program
{
    static void Main()
    {
    Thread thread1 = new Thread(new ThreadStart(A));
    Thread thread2 = new Thread(new ThreadStart(B));
    thread1.Start();
    thread2.Start();
    thread1.Join();
    thread2.Join();
    }
    static void A()
    {
    }
    static void B()
    {
    }
}
