반응형
SMALL
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Study04
{
class App
{
enum ItemType
{
NONE = -1,SWORD,DAGGER,AX,SPEAR
}
//생성자
public App()
{
Console.WriteLine("App생성자");
int i = 0;
while (i <= 10) //무한 반복되니 조심
{
Console.WriteLine(i);
i++;
if (i > 10)
{
break;
}
}
}
}
}
반응형
LIST