Determine if an array is square matrix or not.

Heres an example since A is a square matrix while B and C is not. The program on my head is a row and a colum counter then if the row and colum is equal to eachother then the system will print out that the A matrix is a square matrix and both B and C are not. Is their efficent way on doing this?

            {7, 2, 1}, 
A =         {0, 4, 2},
            {5, 7,11}                                  {1        },  
                                                   C = {2,  3,  4},
                                                       {5,  6    }
          {1, 4},
B =       {2, 8},
          {1, 6,}

Uppercase checker C# VS

Is their a program in which it will determine if a letter in a textbox is uppercase?
This program is for Password checker as it will only be granted if the first letter is uppercase.

Annotation_2020-08-05_120208.png

     char[]
     v = Password.Text.ToCharArray();
//i want to check the first letter if its uppercase
     char s = v[0];
//event
     if (s ___ )
     {
         pictureboxD.Visible = false;
     }

im having a difficulty in a program in c++ .Net Framework

So im actually creating a fastfood menu in which save how many times a button been clicked as a variable. So I can multiply it to its value. For example if i click btnChicken a variable will count how many btnChicken been clicked then it will multplied on the amount i set for the value of each chicken.