C#/수업 내용

수업 2 - 1

오만의 대죄주교 2021. 8. 17. 16:24
반응형

 

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HelloWorld
{
    enum State
    {
        Burrow, UnBurrow
    }
    class Program
    {
        static void Main(string[] args)
        {
            State eState = State.UnBurrow;
            String race = "Zerg";
            int sight = 8;
            float speed = 6.1f;
            string hotKey = "L";
            bool isBurrow = false;

            Console.WriteLine("race: {0}", race);
            Console.WriteLine("sight: {0}", sight);
            Console.WriteLine("speed: {0}", speed);
            Console.WriteLine("hotKey: {0}", hotKey);
            Console.WriteLine("burrow: {0}", isBurrow);
            Console.WriteLine("state: {0}", eState);

        }
    }
}
반응형