C#프로그래밍

break

다모아 2023. 7. 21. 10:17
using System;

namespace LearnDotnet
{
    internal class Program
    {
        static void Main(string[] args)
        {
            for(int i = 0; i < 3; i++)
            {
                for (int j = 0; j < 3; j++)
                {
                    if (j == 1)
                        break;
                }
            }
        }
    }
}

'C#프로그래밍' 카테고리의 다른 글

메서드  (0) 2023.07.21
static  (0) 2023.07.21
while  (0) 2023.07.21
if, switch  (0) 2023.07.21
반복문 문제  (0) 2023.07.20