public static void Main()
string[] Row = new string[5];
Row[0] = "__#_###_###_#_#_###_###_###_###_###_###_";
Row[1] = "__#___#___#_#_#_#___#_____#_#_#_#_#_#_#_";
Row[2] = "__#_###_###_###_###_###___#_###_###_#_#_";
Row[3] = "__#_#_____#___#___#_#_#___#_#_#___#_#_#_";
Row[4] = "__#_###_###___#_###_###___#_###___#_###_";
public static void Afisare(string[] Row, int n)
string nIntToString = n.ToString();
int myLength = nIntToString.Length;
string[] numbers = new string[10];
for (int i = 0; i < 5; i++)
numbers[0] = Row[i].Substring(0, 4);
numbers[1] = Row[i].Substring(4, 4);
numbers[2] = Row[i].Substring(8, 4);
numbers[3] = Row[i].Substring(12, 4);
numbers[4] = Row[i].Substring(16, 4);
numbers[5] = Row[i].Substring(20, 4);
numbers[6] = Row[i].Substring(24, 4);
numbers[7] = Row[i].Substring(28, 4);
numbers[8] = Row[i].Substring(32, 4);
numbers[9] = Row[i].Substring(36, 4);
for ( int j = 0 ; j < 10 ; j++)
Console.WriteLine(numbers[n]);
int[] numbers = new int[myLength];
numbers[i] = int.Parse(nIntToString[i]);