using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HelloWorld
{
enum State
{
Cloacked, UnCloacked
}
class Program
{
static void Main(string[] args)
{
State eState = State.UnCloacked;
String race = "Terran";
int sight = 7;
float speed = 6.67f;
string hotKey = "W";
bool isCloaked = false;
Console.WriteLine("race: {0}", race);
Console.WriteLine("sight: {0}", sight);
Console.WriteLine("speed: {0}", speed);
Console.WriteLine("hotKey: {0}", hotKey);
Console.WriteLine("isCloaked: {0}", isCloaked);
Console.WriteLine("state: {0}", eState);
}
}
}
C#/수업 내용