using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HelloWorld
{
enum State
{
Air, Ground
}
class Program
{
static void Main(string[] args)
{
String race = "Viking";
int gas = 75;
float sight = 39.9f;
bool isFly = true;
State eState = State.Air;
Console.WriteLine("race: {0}", race);
Console.WriteLine("Gas: {0}", gas);
Console.WriteLine("sight: {0}", sight);
Console.WriteLine("isFly: {0}", isFly);
Console.WriteLine("state: {0}", eState);
}
}
}
C#/수업 내용