Q. Write a program in C# that take string input, and print its number of characters.
string name = Console.ReadLine();
Console.WriteLine(name.Length);
Console.ReadLine();
Q. Write a program in C Sharp that take a sentense as input, and show the number of "a" used in the sentense.
string name = Console.ReadLine();
int counter = 0;
for (int i = 0; i < name.Length; i++)
{
if (name[i] == 'a')
{
counter++;
}