3
Answers

alphabet and number counts using method count()

output the count of alphabet and number entered
using method count() and keyword out
 
for example
if user enters gpdw235mw3s393, output should be alphabets are 7, numbers are 7
 

 
 public static void Main()
{
   string a = Console.ReadLine();
   int b = int.Parse(a);
}
 
public static void count(params string[] args)
{
   for(int i = 0; i < args.Length; i++)
   {
       edit this space
   } 
}
 

Answers (3)