예제 #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();
                }
            }
        }
예제 #2
0
파일: TrayAnimator.cs 프로젝트: Nucs/nlib
 public TrayIconAnimator(nucs.WinForms.Tray.TrayIcon trayIcon, Icon restStateIcon, params Icon[] animationFrames) {
     _trayIcon = trayIcon;
     _restStateIcon = restStateIcon;
     _animationFrames = animationFrames;
 }