length of arr csharp

Code Example - length of arr csharp

                
                        string[] arr = {"foo", "bar"}
Console.WriteLine(arr.Length);
// >> 2