As per my knowledge initial 4 number are reserved for each company operator.so u can use a table to store number and operator name in your Database and then use according to your requirement.
a sample use of this is:
Console.WriteLine("Enter mobile number with Country code");
string r = Console.ReadLine().Substring(0,4);
Console.WriteLine(r);
switch(r)
{
case "8050":
Console.WriteLine("Docomo");
break;
case "9216":
Console.WriteLine("Hutch");
break;
case "8020":
Console.WriteLine("Vodaphone");
break;
default:
Console.WriteLine("Not in use");
break;
}
Console.ReadLine();