Ejemplo n.º 1
0
        static void Main()
        {
            int sum            = int.Parse(Console.ReadLine());
            int counterNewLine = 0;

            for (nucs i = nucs.A; i <= nucs.T; i++)
            {
                for (nucs k = nucs.A; k <= nucs.T; k++)
                {
                    for (nucs l = nucs.A; l <= nucs.T; l++)
                    {
                        counterNewLine++;


                        if ((int)i + (int)k + (int)l >= sum)
                        {
                            Console.Write($"O{i}{k}{l}O ");
                        }

                        else
                        {
                            Console.Write($"X{i}{k}{l}X ");
                        }
                    }

                    Console.WriteLine();
                }
            }
        }
Ejemplo n.º 2
0
 public TrayIconAnimator(nucs.WinForms.Tray.TrayIcon trayIcon, Icon restStateIcon, params Icon[] animationFrames) {
     _trayIcon = trayIcon;
     _restStateIcon = restStateIcon;
     _animationFrames = animationFrames;
 }