public static void Main()
Console.Write("Enter Martini Glass Size: ");
Int32 glassSize = Int32.Parse(Console.ReadLine());
Int32[] oddListArr = GetOddListFromCount(glassSize);
for (int g = 0; g < glassSize; g++)
Console.WriteLine(new String(' ', padSpace) + new String('0', oddListArr[g]));
if (g == (glassSize - 1))
for (int s = 0; s < glassSize; s++)
Console.WriteLine(new String(' ', padSpace) + "|");
Console.WriteLine(" " + new String('=', oddListArr[0]));
static Int32[] GetOddListFromCount(Int32 listCnt)
Int32[] oddList = new Int32[listCnt];
for (Int32 i = listCnt; i > 0; i--)
oddList[i - 1] = oddNum += 2;