using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HelloWorld
{
enum State
{
LiftOff, UnLiftOff
}
class Program
{
static void Main(string[] args)
{
String race = "Terran";
int hp = 550;
float armor = 1.1f;
bool isLiftOff = true;
State eState = State.LiftOff;
Console.WriteLine("race: {0}", race);
Console.WriteLine("hit points: {0}", hp);
Console.WriteLine("armor: {0}", armor);
Console.WriteLine("isLiftOff: {0}", isLiftOff);
Console.WriteLine("state: {0}", eState);
}
}
}
C#/수업 내용