C# code to find the count items of array using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DNFPractice
{
class Program
{
public static void Main(string[] args)
{
string[] dnf = new string[9];
int result = dnf.Count();
Console.WriteLine("Result {0}", result);
Console.ReadLine();
}
}
}
Output
9
Thanks
Amatya