Does anyone know how this psuedocode can be made into C#

if (partsNumber[i] is six characters in length and chars 1 and 2 are alpha
and chars 3-6 are numeric
Print Something here



I will use a loop to iterate thru i. I just skipped that

EXAMPLE AA1234