├── 10 ├── DoorLock_6Num_Random │ ├── DoorLock_6Num_Random │ │ ├── App.config │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── Program.cs │ │ └── DoorLock_6Num_Random.csproj │ └── DoorLock_6Num_Random.sln └── LottoNumberGenerator │ ├── LottoNumberGenerator │ ├── App.config │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── Program.cs │ └── LottoNumberGenerator.csproj │ └── LottoNumberGenerator.sln ├── .gitignore ├── 05 ├── Echo │ ├── Echo │ │ ├── App.config │ │ ├── Program.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ └── Echo.csproj │ └── Echo.sln └── Calculator │ ├── Calculator │ ├── App.config │ ├── Program.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ └── Calculator.csproj │ └── Calculator.sln ├── 09 ├── Gugudan │ ├── Gugudan │ │ ├── App.config │ │ ├── Program.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ └── Gugudan.csproj │ └── Gugudan.sln ├── StudentList_For │ ├── StudentList_For │ │ ├── App.config │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── Program.cs │ │ └── StudentList_For.csproj │ └── StudentList_For.sln └── DoorLock_6Num_For │ ├── DoorLock_6Num_For │ ├── App.config │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── Program.cs │ └── DoorLock_6Num_For.csproj │ └── DoorLock_6Num_For.sln ├── 03 └── Constant │ ├── Constant │ ├── App.config │ ├── Program.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ └── Constant.csproj │ └── Constant.sln ├── 04 ├── Variable │ ├── Variable │ │ ├── App.config │ │ ├── Program.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ └── Variable.csproj │ └── Variable.sln ├── Operators │ ├── Operators │ │ ├── App.config │ │ ├── Program.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ └── Operators.csproj │ └── Operators.sln └── WrongVariable │ └── WrongVariable │ ├── WrongVariable │ ├── App.config │ ├── Program.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ └── WrongVariable.csproj │ └── WrongVariable.sln ├── 06 ├── DoorLock │ ├── DoorLock │ │ ├── App.config │ │ ├── Program.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ └── DoorLock.csproj │ └── DoorLock.sln ├── Calculator │ ├── Calculator │ │ ├── App.config │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── Program.cs │ │ └── Calculator.csproj │ └── Calculator.sln └── ComparisonOperators │ ├── ComparisonOperators │ ├── App.config │ ├── Program.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ └── ComparisonOperators.csproj │ └── ComparisonOperators.sln ├── 07 ├── DoorLock_6Num │ ├── DoorLock_6Num │ │ ├── App.config │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── Program.cs │ │ └── DoorLock_6Num.csproj │ └── DoorLock_6Num.sln └── StudentList │ ├── StudentList │ ├── App.config │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── Program.cs │ └── StudentList.csproj │ └── StudentList.sln ├── 02 └── ConsoleWrite │ ├── ConsoleWrite │ ├── App.config │ ├── Program.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ └── ConsoleWrite.csproj │ └── ConsoleWrite.sln ├── 01 └── MyFirstProgram │ ├── MyFirstProgram │ ├── App.config │ ├── Program.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ └── MyFirstProgram.csproj │ └── MyFirstProgram.sln ├── 08 ├── StudentList_While │ ├── StudentList_While │ │ ├── App.config │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── Program.cs │ │ └── StudentList_While.csproj │ └── StudentList_While.sln └── DoorLock_6Num_While │ ├── DoorLock_6Num_While │ ├── App.config │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── Program.cs │ └── DoorLock_6Num_While.csproj │ └── DoorLock_6Num_While.sln ├── UltimateBaseball └── UltimateBaseball │ ├── UltimateBaseball │ ├── App.config │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── UltimateBaseball.csproj │ └── Program.cs │ └── UltimateBaseball.sln └── .gitattributes /.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | Debug/ 3 | *.suo 4 | obj/ 5 | *.db 6 | *.ide 7 | -------------------------------------------------------------------------------- /05/Echo/Echo/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /09/Gugudan/Gugudan/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /03/Constant/Constant/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /04/Variable/Variable/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /06/DoorLock/DoorLock/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /04/Operators/Operators/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /05/Calculator/Calculator/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /06/Calculator/Calculator/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /07/DoorLock_6Num/DoorLock_6Num/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /07/StudentList/StudentList/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /02/ConsoleWrite/ConsoleWrite/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /09/StudentList_For/StudentList_For/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /01/MyFirstProgram/MyFirstProgram/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /08/StudentList_While/StudentList_While/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /09/DoorLock_6Num_For/DoorLock_6Num_For/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /04/WrongVariable/WrongVariable/WrongVariable/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /06/ComparisonOperators/ComparisonOperators/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /08/DoorLock_6Num_While/DoorLock_6Num_While/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /10/DoorLock_6Num_Random/DoorLock_6Num_Random/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /10/LottoNumberGenerator/LottoNumberGenerator/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /UltimateBaseball/UltimateBaseball/UltimateBaseball/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /01/MyFirstProgram/MyFirstProgram/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace MyFirstProgram 8 | { 9 | class Program 10 | { 11 | static void Main(string[] args) 12 | { 13 | } 14 | } 15 | } -------------------------------------------------------------------------------- /04/WrongVariable/WrongVariable/WrongVariable/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace WrongVariable 4 | { 5 | class Program 6 | { 7 | static void Main(string[] args) 8 | { 9 | int appleCount = 12; 10 | int pearCount; 11 | 12 | Console.WriteLine(appleCount); 13 | Console.WriteLine(pearCount); // 변수에 값을 안 넣고 사용해서 에러!! 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /05/Echo/Echo/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Echo 4 | { 5 | class Program 6 | { 7 | static void Main(string[] args) 8 | { 9 | Console.WriteLine("글자를 입력하고 엔터 키를 누르세요."); 10 | string userInput = Console.ReadLine(); 11 | 12 | Console.Write("입력한 글은 "); 13 | Console.Write(userInput); 14 | Console.WriteLine("입니다"); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /04/Variable/Variable/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Variable 4 | { 5 | class Program 6 | { 7 | static void Main(string[] args) 8 | { 9 | string appleCountDescription = "바구니 안에 담긴 사과의 개수: "; 10 | Console.Write(appleCountDescription); 11 | int appleCount = 12; 12 | Console.WriteLine(appleCount); 13 | 14 | appleCount = appleCount - 2; 15 | appleCountDescription = "내가 먹고 난 뒤에 " + appleCountDescription; 16 | 17 | Console.Write(appleCountDescription); 18 | Console.WriteLine(appleCount); 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /03/Constant/Constant/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Constant 4 | { 5 | class Program 6 | { 7 | static void Main(string[] args) 8 | { 9 | string appleCountDescription = "바구니 안에 담긴 사과의 개수: "; 10 | Console.Write(appleCountDescription); 11 | int appleCount = 12; 12 | Console.WriteLine(appleCount); 13 | 14 | Console.WriteLine(-2); 15 | 16 | string basketWeightDescription = "사과 바구니의 무게: "; 17 | Console.Write(basketWeightDescription); 18 | double basketWeight = 1.32; 19 | Console.WriteLine(basketWeight); 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /06/DoorLock/DoorLock/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace DoorLock 4 | { 5 | class Program 6 | { 7 | static void Main(string[] args) 8 | { 9 | int passcodeNumber1 = 6; 10 | int passcodeNumber2 = 2; 11 | 12 | Console.WriteLine("첫 번째 숫자를 넣어주세요."); 13 | int number1 = int.Parse(Console.ReadLine()); 14 | Console.WriteLine("두 번째 숫자를 넣어주세요."); 15 | int number2 = int.Parse(Console.ReadLine()); 16 | 17 | if (number1 == passcodeNumber1 && number2 == passcodeNumber2) 18 | { 19 | Console.WriteLine("문이 열렸습니다."); 20 | } 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /09/Gugudan/Gugudan/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Gugudan 4 | { 5 | class Program 6 | { 7 | static void Main(string[] args) 8 | { 9 | for (int i = 2; i <= 9; i++) 10 | { 11 | Console.Write(i); 12 | Console.WriteLine("단"); 13 | for (int j = 1; j <= 9; j++) 14 | { 15 | Console.Write(i); 16 | Console.Write("x"); 17 | Console.Write(j); 18 | Console.Write(" = "); 19 | Console.Write(i * j); 20 | Console.Write(" "); 21 | } 22 | Console.WriteLine(); 23 | } 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /05/Calculator/Calculator/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Calculator 4 | { 5 | class Program 6 | { 7 | static void Main(string[] args) 8 | { 9 | Console.WriteLine("첫 번째 숫자를 입력하세요."); 10 | string userInput1 = Console.ReadLine(); 11 | double number1 = double.Parse(userInput1); 12 | Console.WriteLine("두 번째 숫자를 입력하세요."); 13 | string userInput2 = Console.ReadLine(); 14 | double number2 = double.Parse(userInput2); 15 | 16 | Console.Write(number1); 17 | Console.Write(" + "); 18 | Console.Write(number2); 19 | Console.Write(" = "); 20 | Console.WriteLine(number1 + number2); 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /04/Operators/Operators/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Operators 4 | { 5 | class Program 6 | { 7 | static void Main(string[] args) 8 | { 9 | Console.Write("100 + 10 = "); 10 | Console.WriteLine(100 + 10); 11 | Console.Write("100 - 10 = "); 12 | Console.WriteLine(100 - 10); 13 | Console.Write("100 * 10 = "); 14 | Console.WriteLine(100 * 10); 15 | Console.Write("84 / 10 = "); 16 | Console.WriteLine(84 / 10); 17 | Console.Write("84 % 10 = "); 18 | Console.WriteLine(84 % 10); 19 | 20 | Console.WriteLine("글" + "붙여쓰기"); 21 | 22 | Console.WriteLine("글붙여쓰기" - "붙여쓰기"); // 문자열에는 ‘-‘연산자가 없어서 오류! 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /02/ConsoleWrite/ConsoleWrite/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace ConsoleWrite 4 | { 5 | class Program 6 | { 7 | static void Main(string[] args) 8 | { 9 | Console.WriteLine("WriteLine을 쓰면"); 10 | Console.WriteLine("한 줄씩 나옵니다."); 11 | Console.Write("Write는 아닙니다."); 12 | Console.Write("이어져서 나오죠?"); 13 | Console.WriteLine("Write 뒤에 WriteLine을 썼습니다."); 14 | 15 | Console.Write("바구니 안에 담긴 사과의 개수: "); 16 | Console.WriteLine(12); 17 | 18 | Console.Write("사과 바구니의 무게: "); 19 | Console.WriteLine(1.32); 20 | 21 | Console.WriteLine("!!?%$&"); 22 | 23 | Console.WriteLine("큰따옴표\" 출력"); // 큰따옴표를 출력 24 | Console.WriteLine("\\\'\""); 25 | } 26 | } 27 | } -------------------------------------------------------------------------------- /06/ComparisonOperators/ComparisonOperators/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace ComparisonOperators 4 | { 5 | class Program 6 | { 7 | static void Main(string[] args) 8 | { 9 | Console.Write("10 > 10 은 "); 10 | Console.WriteLine(10 > 10); // 거짓 11 | 12 | Console.Write("10 >= 10 은 "); 13 | Console.WriteLine(10 >= 10); // 참 14 | 15 | Console.Write("5 < 10 은 "); 16 | Console.WriteLine(5 < 10); // 참 17 | 18 | Console.Write("5 <= 10 은 "); 19 | Console.WriteLine(5 <= 10); // 참 20 | 21 | Console.Write("5 == 4 는 "); 22 | Console.WriteLine(5 == 4); // 거짓 23 | 24 | Console.Write("5 != 4 는 "); 25 | Console.WriteLine(5 != 4); // 참 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /05/Echo/Echo.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26403.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Echo", "Echo\Echo.csproj", "{A499387A-671A-47E8-AAD5-5DBC065417CE}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {A499387A-671A-47E8-AAD5-5DBC065417CE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {A499387A-671A-47E8-AAD5-5DBC065417CE}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {A499387A-671A-47E8-AAD5-5DBC065417CE}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {A499387A-671A-47E8-AAD5-5DBC065417CE}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /03/Constant/Constant.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26403.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Constant", "Constant\Constant.csproj", "{94868D22-2ED4-45CB-81F6-C56A2C75B61F}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {94868D22-2ED4-45CB-81F6-C56A2C75B61F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {94868D22-2ED4-45CB-81F6-C56A2C75B61F}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {94868D22-2ED4-45CB-81F6-C56A2C75B61F}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {94868D22-2ED4-45CB-81F6-C56A2C75B61F}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /04/Variable/Variable.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26403.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Variable", "Variable\Variable.csproj", "{CB918279-2ADA-4F4D-972D-773CEA78C28F}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {CB918279-2ADA-4F4D-972D-773CEA78C28F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {CB918279-2ADA-4F4D-972D-773CEA78C28F}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {CB918279-2ADA-4F4D-972D-773CEA78C28F}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {CB918279-2ADA-4F4D-972D-773CEA78C28F}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /06/DoorLock/DoorLock.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26403.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DoorLock", "DoorLock\DoorLock.csproj", "{E0C6AFF8-A09A-4A2A-AF6F-1B9207337898}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {E0C6AFF8-A09A-4A2A-AF6F-1B9207337898}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {E0C6AFF8-A09A-4A2A-AF6F-1B9207337898}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {E0C6AFF8-A09A-4A2A-AF6F-1B9207337898}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {E0C6AFF8-A09A-4A2A-AF6F-1B9207337898}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /04/Operators/Operators.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26403.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Operators", "Operators\Operators.csproj", "{26CCD10C-D73B-4BFB-8E02-890A423EE57B}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {26CCD10C-D73B-4BFB-8E02-890A423EE57B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {26CCD10C-D73B-4BFB-8E02-890A423EE57B}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {26CCD10C-D73B-4BFB-8E02-890A423EE57B}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {26CCD10C-D73B-4BFB-8E02-890A423EE57B}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /05/Calculator/Calculator.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26403.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Calculator", "Calculator\Calculator.csproj", "{8F4AC0FB-14DD-4667-9F56-F3C77AD7F4D3}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {8F4AC0FB-14DD-4667-9F56-F3C77AD7F4D3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {8F4AC0FB-14DD-4667-9F56-F3C77AD7F4D3}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {8F4AC0FB-14DD-4667-9F56-F3C77AD7F4D3}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {8F4AC0FB-14DD-4667-9F56-F3C77AD7F4D3}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /06/Calculator/Calculator.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26403.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Calculator", "Calculator\Calculator.csproj", "{AF0CC729-2626-49B4-A9A7-66B8DE8B6396}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {AF0CC729-2626-49B4-A9A7-66B8DE8B6396}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {AF0CC729-2626-49B4-A9A7-66B8DE8B6396}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {AF0CC729-2626-49B4-A9A7-66B8DE8B6396}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {AF0CC729-2626-49B4-A9A7-66B8DE8B6396}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /07/StudentList/StudentList.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26403.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StudentList", "StudentList\StudentList.csproj", "{EDE4EBE5-8571-4F33-94F3-506200A3A29B}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {EDE4EBE5-8571-4F33-94F3-506200A3A29B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {EDE4EBE5-8571-4F33-94F3-506200A3A29B}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {EDE4EBE5-8571-4F33-94F3-506200A3A29B}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {EDE4EBE5-8571-4F33-94F3-506200A3A29B}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /02/ConsoleWrite/ConsoleWrite.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26403.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleWrite", "ConsoleWrite\ConsoleWrite.csproj", "{6F9D7DD1-2BA5-494C-A7DA-395BB9A3C232}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {6F9D7DD1-2BA5-494C-A7DA-395BB9A3C232}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {6F9D7DD1-2BA5-494C-A7DA-395BB9A3C232}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {6F9D7DD1-2BA5-494C-A7DA-395BB9A3C232}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {6F9D7DD1-2BA5-494C-A7DA-395BB9A3C232}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /01/MyFirstProgram/MyFirstProgram.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26403.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MyFirstProgram", "MyFirstProgram\MyFirstProgram.csproj", "{08328A42-DB4A-433F-9972-323238857AC9}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {08328A42-DB4A-433F-9972-323238857AC9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {08328A42-DB4A-433F-9972-323238857AC9}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {08328A42-DB4A-433F-9972-323238857AC9}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {08328A42-DB4A-433F-9972-323238857AC9}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /10/LottoNumberGenerator/LottoNumberGenerator.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26403.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LottoNumberGenerator", "LottoNumberGenerator\LottoNumberGenerator.csproj", "{F82AC75A-9D5C-41A5-8EAB-E347B850746C}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {F82AC75A-9D5C-41A5-8EAB-E347B850746C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {F82AC75A-9D5C-41A5-8EAB-E347B850746C}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {F82AC75A-9D5C-41A5-8EAB-E347B850746C}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {F82AC75A-9D5C-41A5-8EAB-E347B850746C}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /09/Gugudan/Gugudan.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26730.12 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Gugudan", "Gugudan\Gugudan.csproj", "{E99C818A-65F9-46E7-AB5A-35457EE73494}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {E99C818A-65F9-46E7-AB5A-35457EE73494}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {E99C818A-65F9-46E7-AB5A-35457EE73494}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {E99C818A-65F9-46E7-AB5A-35457EE73494}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {E99C818A-65F9-46E7-AB5A-35457EE73494}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {C42B39D6-EC74-4BA2-B90D-4F8F2501B909} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /07/DoorLock_6Num/DoorLock_6Num.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26730.12 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DoorLock_6Num", "DoorLock_6Num\DoorLock_6Num.csproj", "{85DFF2CA-F4C6-4470-82FB-B562FB75CF8D}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {85DFF2CA-F4C6-4470-82FB-B562FB75CF8D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {85DFF2CA-F4C6-4470-82FB-B562FB75CF8D}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {85DFF2CA-F4C6-4470-82FB-B562FB75CF8D}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {85DFF2CA-F4C6-4470-82FB-B562FB75CF8D}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {B749B758-0BEE-477A-B2CA-978CEF5F18F9} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /09/Gugudan/Gugudan/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해 6 | // 제어됩니다. 어셈블리와 관련된 정보를 수정하려면 7 | // 이러한 특성 값을 변경하세요. 8 | [assembly: AssemblyTitle("Gugudan")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Gugudan")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에 18 | // 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면 19 | // 해당 형식에 대해 ComVisible 특성을 true로 설정하세요. 20 | [assembly: ComVisible(false)] 21 | 22 | // 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다. 23 | [assembly: Guid("e99c818a-65f9-46e7-ab5a-35457ee73494")] 24 | 25 | // 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다. 26 | // 27 | // 주 버전 28 | // 부 버전 29 | // 빌드 번호 30 | // 수정 버전 31 | // 32 | // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 33 | // 지정되도록 할 수 있습니다. 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /09/StudentList_For/StudentList_For.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26730.12 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StudentList_For", "StudentList_For\StudentList_For.csproj", "{34658E2A-AD4B-41D1-9BDB-19C44A7C364B}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {34658E2A-AD4B-41D1-9BDB-19C44A7C364B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {34658E2A-AD4B-41D1-9BDB-19C44A7C364B}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {34658E2A-AD4B-41D1-9BDB-19C44A7C364B}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {34658E2A-AD4B-41D1-9BDB-19C44A7C364B}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {D266EE26-4BD8-4601-A9F4-A21B03AF1B7D} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /04/WrongVariable/WrongVariable/WrongVariable.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26730.12 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WrongVariable", "WrongVariable\WrongVariable.csproj", "{285F7021-83EC-48FB-A333-E6C4D87D513C}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {285F7021-83EC-48FB-A333-E6C4D87D513C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {285F7021-83EC-48FB-A333-E6C4D87D513C}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {285F7021-83EC-48FB-A333-E6C4D87D513C}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {285F7021-83EC-48FB-A333-E6C4D87D513C}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {7B941482-E0A2-421C-AFD1-1E80A7978EDF} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /08/StudentList_While/StudentList_While.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26730.12 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StudentList_While", "StudentList_While\StudentList_While.csproj", "{784B2D0E-2DFD-457C-9B73-BB8E74524D76}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {784B2D0E-2DFD-457C-9B73-BB8E74524D76}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {784B2D0E-2DFD-457C-9B73-BB8E74524D76}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {784B2D0E-2DFD-457C-9B73-BB8E74524D76}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {784B2D0E-2DFD-457C-9B73-BB8E74524D76}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {E1967BAC-8976-4D4A-BB1E-9FC0499ABF71} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /09/DoorLock_6Num_For/DoorLock_6Num_For.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26730.12 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DoorLock_6Num_For", "DoorLock_6Num_For\DoorLock_6Num_For.csproj", "{F1075BA7-7C63-4C5B-9EC6-274B91AC82D8}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {F1075BA7-7C63-4C5B-9EC6-274B91AC82D8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {F1075BA7-7C63-4C5B-9EC6-274B91AC82D8}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {F1075BA7-7C63-4C5B-9EC6-274B91AC82D8}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {F1075BA7-7C63-4C5B-9EC6-274B91AC82D8}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {4DDEA3AB-F8E3-4CB8-A640-3B28A7205D44} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /06/ComparisonOperators/ComparisonOperators.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26730.12 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ComparisonOperators", "ComparisonOperators\ComparisonOperators.csproj", "{1F2C9380-11AB-4211-8EC5-450F49E9B2BD}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {1F2C9380-11AB-4211-8EC5-450F49E9B2BD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {1F2C9380-11AB-4211-8EC5-450F49E9B2BD}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {1F2C9380-11AB-4211-8EC5-450F49E9B2BD}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {1F2C9380-11AB-4211-8EC5-450F49E9B2BD}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {59D98F05-5F18-4F16-81CE-E14A53766CF9} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /07/DoorLock_6Num/DoorLock_6Num/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해 6 | // 제어됩니다. 어셈블리와 관련된 정보를 수정하려면 7 | // 이러한 특성 값을 변경하세요. 8 | [assembly: AssemblyTitle("DoorLock_6Num")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("DoorLock_6Num")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에 18 | // 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면 19 | // 해당 형식에 대해 ComVisible 특성을 true로 설정하세요. 20 | [assembly: ComVisible(false)] 21 | 22 | // 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다. 23 | [assembly: Guid("85dff2ca-f4c6-4470-82fb-b562fb75cf8d")] 24 | 25 | // 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다. 26 | // 27 | // 주 버전 28 | // 부 버전 29 | // 빌드 번호 30 | // 수정 버전 31 | // 32 | // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 33 | // 지정되도록 할 수 있습니다. 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /08/DoorLock_6Num_While/DoorLock_6Num_While.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26730.12 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DoorLock_6Num_While", "DoorLock_6Num_While\DoorLock_6Num_While.csproj", "{0A081F7B-36F4-4DD3-8291-6E2EF7C3D259}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {0A081F7B-36F4-4DD3-8291-6E2EF7C3D259}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {0A081F7B-36F4-4DD3-8291-6E2EF7C3D259}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {0A081F7B-36F4-4DD3-8291-6E2EF7C3D259}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {0A081F7B-36F4-4DD3-8291-6E2EF7C3D259}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {0BB1D3DC-5C7B-410D-8818-DCBF72692E79} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /UltimateBaseball/UltimateBaseball/UltimateBaseball.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26730.12 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UltimateBaseball", "UltimateBaseball\UltimateBaseball.csproj", "{74636D51-1D36-4F84-A25B-39B01DA3EC2F}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {74636D51-1D36-4F84-A25B-39B01DA3EC2F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {74636D51-1D36-4F84-A25B-39B01DA3EC2F}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {74636D51-1D36-4F84-A25B-39B01DA3EC2F}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {74636D51-1D36-4F84-A25B-39B01DA3EC2F}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {C39AB4CD-2643-4057-8126-1E6D83143925} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /10/DoorLock_6Num_Random/DoorLock_6Num_Random.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26730.12 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DoorLock_6Num_Random", "DoorLock_6Num_Random\DoorLock_6Num_Random.csproj", "{0CFAA095-5A33-48F8-A859-EC0E7547D772}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {0CFAA095-5A33-48F8-A859-EC0E7547D772}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {0CFAA095-5A33-48F8-A859-EC0E7547D772}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {0CFAA095-5A33-48F8-A859-EC0E7547D772}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {0CFAA095-5A33-48F8-A859-EC0E7547D772}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {57376228-A889-42D0-BCE9-3BA1068E1C43} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /09/StudentList_For/StudentList_For/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해 6 | // 제어됩니다. 어셈블리와 관련된 정보를 수정하려면 7 | // 이러한 특성 값을 변경하세요. 8 | [assembly: AssemblyTitle("StudentList_For")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("StudentList_For")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에 18 | // 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면 19 | // 해당 형식에 대해 ComVisible 특성을 true로 설정하세요. 20 | [assembly: ComVisible(false)] 21 | 22 | // 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다. 23 | [assembly: Guid("34658e2a-ad4b-41d1-9bdb-19c44a7c364b")] 24 | 25 | // 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다. 26 | // 27 | // 주 버전 28 | // 부 버전 29 | // 빌드 번호 30 | // 수정 버전 31 | // 32 | // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 33 | // 지정되도록 할 수 있습니다. 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /04/WrongVariable/WrongVariable/WrongVariable/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해 6 | // 제어됩니다. 어셈블리와 관련된 정보를 수정하려면 7 | // 이러한 특성 값을 변경하세요. 8 | [assembly: AssemblyTitle("WrongVariable")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("WrongVariable")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에 18 | // 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면 19 | // 해당 형식에 대해 ComVisible 특성을 true로 설정하세요. 20 | [assembly: ComVisible(false)] 21 | 22 | // 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다. 23 | [assembly: Guid("285f7021-83ec-48fb-a333-e6c4d87d513c")] 24 | 25 | // 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다. 26 | // 27 | // 주 버전 28 | // 부 버전 29 | // 빌드 번호 30 | // 수정 버전 31 | // 32 | // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 33 | // 지정되도록 할 수 있습니다. 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /05/Echo/Echo/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해 6 | // 제어됩니다. 어셈블리와 관련된 정보를 수정하려면 7 | // 이러한 특성 값을 변경하세요. 8 | [assembly: AssemblyTitle("StringInput")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("StringInput")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에 18 | // 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면 19 | // 해당 형식에 대해 ComVisible 특성을 true로 설정하세요. 20 | [assembly: ComVisible(false)] 21 | 22 | // 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다. 23 | [assembly: Guid("a499387a-671a-47e8-aad5-5dbc065417ce")] 24 | 25 | // 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다. 26 | // 27 | // 주 버전 28 | // 부 버전 29 | // 빌드 번호 30 | // 수정 버전 31 | // 32 | // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 33 | // 지정되도록 할 수 있습니다. 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /03/Constant/Constant/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해 6 | // 제어됩니다. 어셈블리와 관련된 정보를 수정하려면 7 | // 이러한 특성 값을 변경하세요. 8 | [assembly: AssemblyTitle("Constant")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Constant")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에 18 | // 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면 19 | // 해당 형식에 대해 ComVisible 특성을 true로 설정하세요. 20 | [assembly: ComVisible(false)] 21 | 22 | // 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다. 23 | [assembly: Guid("94868d22-2ed4-45cb-81f6-c56a2c75b61f")] 24 | 25 | // 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다. 26 | // 27 | // 주 버전 28 | // 부 버전 29 | // 빌드 번호 30 | // 수정 버전 31 | // 32 | // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 33 | // 지정되도록 할 수 있습니다. 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /04/Operators/Operators/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해 6 | // 제어됩니다. 어셈블리와 관련된 정보를 수정하려면 7 | // 이러한 특성 값을 변경하세요. 8 | [assembly: AssemblyTitle("Operators")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Operators")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에 18 | // 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면 19 | // 해당 형식에 대해 ComVisible 특성을 true로 설정하세요. 20 | [assembly: ComVisible(false)] 21 | 22 | // 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다. 23 | [assembly: Guid("26ccd10c-d73b-4bfb-8e02-890a423ee57b")] 24 | 25 | // 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다. 26 | // 27 | // 주 버전 28 | // 부 버전 29 | // 빌드 번호 30 | // 수정 버전 31 | // 32 | // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 33 | // 지정되도록 할 수 있습니다. 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /04/Variable/Variable/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해 6 | // 제어됩니다. 어셈블리와 관련된 정보를 수정하려면 7 | // 이러한 특성 값을 변경하세요. 8 | [assembly: AssemblyTitle("Variable")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Variable")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에 18 | // 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면 19 | // 해당 형식에 대해 ComVisible 특성을 true로 설정하세요. 20 | [assembly: ComVisible(false)] 21 | 22 | // 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다. 23 | [assembly: Guid("cb918279-2ada-4f4d-972d-773cea78c28f")] 24 | 25 | // 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다. 26 | // 27 | // 주 버전 28 | // 부 버전 29 | // 빌드 번호 30 | // 수정 버전 31 | // 32 | // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 33 | // 지정되도록 할 수 있습니다. 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /06/DoorLock/DoorLock/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해 6 | // 제어됩니다. 어셈블리와 관련된 정보를 수정하려면 7 | // 이러한 특성 값을 변경하세요. 8 | [assembly: AssemblyTitle("DoorLock")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("DoorLock")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에 18 | // 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면 19 | // 해당 형식에 대해 ComVisible 특성을 true로 설정하세요. 20 | [assembly: ComVisible(false)] 21 | 22 | // 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다. 23 | [assembly: Guid("e0c6aff8-a09a-4a2a-af6f-1b9207337898")] 24 | 25 | // 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다. 26 | // 27 | // 주 버전 28 | // 부 버전 29 | // 빌드 번호 30 | // 수정 버전 31 | // 32 | // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 33 | // 지정되도록 할 수 있습니다. 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /08/StudentList_While/StudentList_While/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해 6 | // 제어됩니다. 어셈블리와 관련된 정보를 수정하려면 7 | // 이러한 특성 값을 변경하세요. 8 | [assembly: AssemblyTitle("StudentList_While")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("StudentList_While")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에 18 | // 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면 19 | // 해당 형식에 대해 ComVisible 특성을 true로 설정하세요. 20 | [assembly: ComVisible(false)] 21 | 22 | // 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다. 23 | [assembly: Guid("784b2d0e-2dfd-457c-9b73-bb8e74524d76")] 24 | 25 | // 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다. 26 | // 27 | // 주 버전 28 | // 부 버전 29 | // 빌드 번호 30 | // 수정 버전 31 | // 32 | // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 33 | // 지정되도록 할 수 있습니다. 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /09/DoorLock_6Num_For/DoorLock_6Num_For/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해 6 | // 제어됩니다. 어셈블리와 관련된 정보를 수정하려면 7 | // 이러한 특성 값을 변경하세요. 8 | [assembly: AssemblyTitle("DoorLock_6Num_For")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("DoorLock_6Num_For")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에 18 | // 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면 19 | // 해당 형식에 대해 ComVisible 특성을 true로 설정하세요. 20 | [assembly: ComVisible(false)] 21 | 22 | // 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다. 23 | [assembly: Guid("f1075ba7-7c63-4c5b-9ec6-274b91ac82d8")] 24 | 25 | // 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다. 26 | // 27 | // 주 버전 28 | // 부 버전 29 | // 빌드 번호 30 | // 수정 버전 31 | // 32 | // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 33 | // 지정되도록 할 수 있습니다. 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /05/Calculator/Calculator/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해 6 | // 제어됩니다. 어셈블리와 관련된 정보를 수정하려면 7 | // 이러한 특성 값을 변경하세요. 8 | [assembly: AssemblyTitle("Calculator")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Calculator")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에 18 | // 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면 19 | // 해당 형식에 대해 ComVisible 특성을 true로 설정하세요. 20 | [assembly: ComVisible(false)] 21 | 22 | // 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다. 23 | [assembly: Guid("8f4ac0fb-14dd-4667-9f56-f3c77ad7f4d3")] 24 | 25 | // 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다. 26 | // 27 | // 주 버전 28 | // 부 버전 29 | // 빌드 번호 30 | // 수정 버전 31 | // 32 | // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 33 | // 지정되도록 할 수 있습니다. 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /06/Calculator/Calculator/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해 6 | // 제어됩니다. 어셈블리와 관련된 정보를 수정하려면 7 | // 이러한 특성 값을 변경하세요. 8 | [assembly: AssemblyTitle("Calculator")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Calculator")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에 18 | // 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면 19 | // 해당 형식에 대해 ComVisible 특성을 true로 설정하세요. 20 | [assembly: ComVisible(false)] 21 | 22 | // 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다. 23 | [assembly: Guid("af0cc729-2626-49b4-a9a7-66b8de8b6396")] 24 | 25 | // 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다. 26 | // 27 | // 주 버전 28 | // 부 버전 29 | // 빌드 번호 30 | // 수정 버전 31 | // 32 | // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 33 | // 지정되도록 할 수 있습니다. 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /06/ComparisonOperators/ComparisonOperators/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해 6 | // 제어됩니다. 어셈블리와 관련된 정보를 수정하려면 7 | // 이러한 특성 값을 변경하세요. 8 | [assembly: AssemblyTitle("ComparisonOperators")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("ComparisonOperators")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에 18 | // 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면 19 | // 해당 형식에 대해 ComVisible 특성을 true로 설정하세요. 20 | [assembly: ComVisible(false)] 21 | 22 | // 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다. 23 | [assembly: Guid("1f2c9380-11ab-4211-8ec5-450f49e9b2bd")] 24 | 25 | // 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다. 26 | // 27 | // 주 버전 28 | // 부 버전 29 | // 빌드 번호 30 | // 수정 버전 31 | // 32 | // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 33 | // 지정되도록 할 수 있습니다. 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /08/DoorLock_6Num_While/DoorLock_6Num_While/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해 6 | // 제어됩니다. 어셈블리와 관련된 정보를 수정하려면 7 | // 이러한 특성 값을 변경하세요. 8 | [assembly: AssemblyTitle("DoorLock_6Num_While")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("DoorLock_6Num_While")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에 18 | // 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면 19 | // 해당 형식에 대해 ComVisible 특성을 true로 설정하세요. 20 | [assembly: ComVisible(false)] 21 | 22 | // 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다. 23 | [assembly: Guid("0a081f7b-36f4-4dd3-8291-6e2ef7c3d259")] 24 | 25 | // 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다. 26 | // 27 | // 주 버전 28 | // 부 버전 29 | // 빌드 번호 30 | // 수정 버전 31 | // 32 | // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 33 | // 지정되도록 할 수 있습니다. 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /07/StudentList/StudentList/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해 6 | // 제어됩니다. 어셈블리와 관련된 정보를 수정하려면 7 | // 이러한 특성 값을 변경하세요. 8 | [assembly: AssemblyTitle("StudentList")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("StudentList")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에 18 | // 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면 19 | // 해당 형식에 대해 ComVisible 특성을 true로 설정하세요. 20 | [assembly: ComVisible(false)] 21 | 22 | // 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다. 23 | [assembly: Guid("ede4ebe5-8571-4f33-94f3-506200a3a29b")] 24 | 25 | // 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다. 26 | // 27 | // 주 버전 28 | // 부 버전 29 | // 빌드 번호 30 | // 수정 버전 31 | // 32 | // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 33 | // 지정되도록 할 수 있습니다. 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /10/DoorLock_6Num_Random/DoorLock_6Num_Random/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해 6 | // 제어됩니다. 어셈블리와 관련된 정보를 수정하려면 7 | // 이러한 특성 값을 변경하세요. 8 | [assembly: AssemblyTitle("DoorLock_6Num_Random")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("DoorLock_6Num_Random")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에 18 | // 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면 19 | // 해당 형식에 대해 ComVisible 특성을 true로 설정하세요. 20 | [assembly: ComVisible(false)] 21 | 22 | // 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다. 23 | [assembly: Guid("0cfaa095-5a33-48f8-a859-ec0e7547d772")] 24 | 25 | // 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다. 26 | // 27 | // 주 버전 28 | // 부 버전 29 | // 빌드 번호 30 | // 수정 버전 31 | // 32 | // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 33 | // 지정되도록 할 수 있습니다. 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /UltimateBaseball/UltimateBaseball/UltimateBaseball/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해 6 | // 제어됩니다. 어셈블리와 관련된 정보를 수정하려면 7 | // 이러한 특성 값을 변경하세요. 8 | [assembly: AssemblyTitle("UltimateBaseball")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("UltimateBaseball")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에 18 | // 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면 19 | // 해당 형식에 대해 ComVisible 특성을 true로 설정하세요. 20 | [assembly: ComVisible(false)] 21 | 22 | // 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다. 23 | [assembly: Guid("74636d51-1d36-4f84-a25b-39b01da3ec2f")] 24 | 25 | // 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다. 26 | // 27 | // 주 버전 28 | // 부 버전 29 | // 빌드 번호 30 | // 수정 버전 31 | // 32 | // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 33 | // 지정되도록 할 수 있습니다. 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /02/ConsoleWrite/ConsoleWrite/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해 6 | // 제어됩니다. 어셈블리와 관련된 정보를 수정하려면 7 | // 이러한 특성 값을 변경하세요. 8 | [assembly: AssemblyTitle("ConsoleWrite")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("ConsoleWrite")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에 18 | // 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면 19 | // 해당 형식에 대해 ComVisible 특성을 true로 설정하세요. 20 | [assembly: ComVisible(false)] 21 | 22 | // 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다. 23 | [assembly: Guid("6f9d7dd1-2ba5-494c-a7da-395bb9a3c232")] 24 | 25 | // 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다. 26 | // 27 | // 주 버전 28 | // 부 버전 29 | // 빌드 번호 30 | // 수정 버전 31 | // 32 | // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 33 | // 지정되도록 할 수 있습니다. 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /01/MyFirstProgram/MyFirstProgram/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해 6 | // 제어됩니다. 어셈블리와 관련된 정보를 수정하려면 7 | // 이러한 특성 값을 변경하세요. 8 | [assembly: AssemblyTitle("MyFirstProgram")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("MyFirstProgram")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에 18 | // 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면 19 | // 해당 형식에 대해 ComVisible 특성을 true로 설정하세요. 20 | [assembly: ComVisible(false)] 21 | 22 | // 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다. 23 | [assembly: Guid("08328a42-db4a-433f-9972-323238857ac9")] 24 | 25 | // 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다. 26 | // 27 | // 주 버전 28 | // 부 버전 29 | // 빌드 번호 30 | // 수정 버전 31 | // 32 | // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 33 | // 지정되도록 할 수 있습니다. 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /06/Calculator/Calculator/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Calculator 4 | { 5 | class Program 6 | { 7 | static void Main(string[] args) 8 | { 9 | Console.WriteLine("첫 번째 숫자를 입력하세요."); 10 | int number1 = int.Parse(Console.ReadLine()); 11 | Console.WriteLine("두 번째 숫자를 입력하세요."); 12 | int number2 = int.Parse(Console.ReadLine()); 13 | Console.WriteLine("연신지를 입력하세요."); 14 | string inputOperator = Console.ReadLine(); 15 | 16 | Console.Write(number1); 17 | Console.Write(inputOperator); 18 | Console.Write(number2); 19 | Console.Write(" = "); 20 | 21 | if (inputOperator == "+") 22 | { 23 | Console.WriteLine(number1 + number2); 24 | } 25 | else if (inputOperator == "-") 26 | { 27 | Console.WriteLine(number1 - number2); 28 | } 29 | else if (inputOperator == "*") 30 | { 31 | Console.WriteLine(number1 * number2); 32 | } 33 | else if (inputOperator == "/") 34 | { 35 | Console.WriteLine(number1 / number2); 36 | } 37 | } 38 | } 39 | } -------------------------------------------------------------------------------- /10/LottoNumberGenerator/LottoNumberGenerator/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해 6 | // 제어됩니다. 어셈블리와 관련된 정보를 수정하려면 7 | // 이러한 특성 값을 변경하세요. 8 | [assembly: AssemblyTitle("LottoNumberGenerator")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("LottoNumberGenerator")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에 18 | // 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면 19 | // 해당 형식에 대해 ComVisible 특성을 true로 설정하세요. 20 | [assembly: ComVisible(false)] 21 | 22 | // 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다. 23 | [assembly: Guid("f82ac75a-9d5c-41a5-8eab-e347b850746c")] 24 | 25 | // 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다. 26 | // 27 | // 주 버전 28 | // 부 버전 29 | // 빌드 번호 30 | // 수정 버전 31 | // 32 | // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 33 | // 지정되도록 할 수 있습니다. 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /10/LottoNumberGenerator/LottoNumberGenerator/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace LottoNumberGenerator 4 | { 5 | class Program 6 | { 7 | static void Main(string[] args) 8 | { 9 | int lottoLength = 6; 10 | int[] lottoNumbers = new int[lottoLength]; 11 | 12 | Random random = new Random(); 13 | 14 | int lottoNumberIndex = 0; 15 | while (lottoNumberIndex < lottoLength) 16 | { 17 | lottoNumbers[lottoNumberIndex] = random.Next(1, 46); 18 | 19 | bool hasDuplicate = false; 20 | for (int i = 0; i < lottoNumberIndex; i++) 21 | { 22 | if (lottoNumbers[lottoNumberIndex] == lottoNumbers[i]) 23 | { 24 | hasDuplicate = true; 25 | break; 26 | } 27 | } 28 | 29 | if (!hasDuplicate) 30 | { 31 | lottoNumberIndex++; 32 | } 33 | } 34 | 35 | Console.Write("로또 번호: "); 36 | for (int i = 0; i < lottoLength; ++i) 37 | { 38 | Console.Write(lottoNumbers[i]); 39 | Console.Write(", "); 40 | } 41 | Console.WriteLine(); 42 | } 43 | } 44 | } -------------------------------------------------------------------------------- /07/DoorLock_6Num/DoorLock_6Num/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace DoorLock_6Num 4 | { 5 | class Program 6 | { 7 | static void Main(string[] args) 8 | { 9 | int[] passcodeNumbers = { 6, 2, 1, 9, 4, 7 }; 10 | int[] userInput = new int[6]; 11 | 12 | Console.WriteLine("첫 번째 숫자를 넣어주세요."); 13 | userInput[0] = int.Parse(Console.ReadLine()); 14 | Console.WriteLine("두 번째 숫자를 넣어주세요."); 15 | userInput[1] = int.Parse(Console.ReadLine()); 16 | Console.WriteLine("세 번째 숫자를 넣어주세요."); 17 | userInput[2] = int.Parse(Console.ReadLine()); 18 | Console.WriteLine("네 번째 숫자를 넣어주세요."); 19 | userInput[3] = int.Parse(Console.ReadLine()); 20 | Console.WriteLine("다섯 번째 숫자를 넣어주세요."); 21 | userInput[4] = int.Parse(Console.ReadLine()); 22 | Console.WriteLine("여섯 번째 숫자를 넣어주세요."); 23 | userInput[5] = int.Parse(Console.ReadLine()); 24 | 25 | if (userInput[0] == passcodeNumbers[0] && userInput[1] == passcodeNumbers[1] && userInput[2] == passcodeNumbers[2] && userInput[3] == passcodeNumbers[3] && userInput[4] == passcodeNumbers[4] && userInput[5] == passcodeNumbers[5]) 26 | { 27 | Console.WriteLine("문이 열렸습니다."); 28 | } 29 | else 30 | { 31 | Console.WriteLine("비밀번호가 틀렸습니다."); 32 | } 33 | } 34 | } 35 | } -------------------------------------------------------------------------------- /09/DoorLock_6Num_For/DoorLock_6Num_For/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace DoorLock_6Num_For 4 | { 5 | class Program 6 | { 7 | static void Main(string[] args) 8 | { 9 | int[] passcodeNumbers = { 6, 2, 1, 9, 4, 7 }; 10 | 11 | int passcodeLength = 6; 12 | int[] userInput = new int[passcodeLength]; 13 | 14 | while (true) 15 | { 16 | for (int passcodeIndex = 0; passcodeIndex < passcodeLength; passcodeIndex++) 17 | { 18 | Console.Write(passcodeIndex); 19 | Console.WriteLine("번째 숫자를 넣어주세요."); 20 | userInput[passcodeIndex] = int.Parse(Console.ReadLine()); 21 | } 22 | 23 | bool isPasswordCorrect = true; 24 | for (int passcodeIndex = 0; passcodeIndex < passcodeLength; passcodeIndex++) 25 | { 26 | if (userInput[passcodeIndex] != passcodeNumbers[passcodeIndex]) 27 | { 28 | isPasswordCorrect = false; 29 | Console.WriteLine("비밀번호가 틀렸습니다."); 30 | break; 31 | } 32 | } 33 | 34 | if (isPasswordCorrect) 35 | { 36 | Console.WriteLine("문이 열렸습니다."); 37 | break; 38 | } 39 | } 40 | } 41 | } 42 | } -------------------------------------------------------------------------------- /08/DoorLock_6Num_While/DoorLock_6Num_While/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace DoorLock_6Num_While 4 | { 5 | class Program 6 | { 7 | static void Main(string[] args) 8 | { 9 | int[] passcodeNumbers = { 6, 2, 1, 9, 4, 7 }; 10 | int[] userInput = new int[6]; 11 | 12 | while (true) 13 | { 14 | Console.WriteLine("첫 번째 숫자를 넣어주세요."); 15 | userInput[0] = int.Parse(Console.ReadLine()); 16 | Console.WriteLine("두 번째 숫자를 넣어주세요."); 17 | userInput[1] = int.Parse(Console.ReadLine()); 18 | Console.WriteLine("세 번째 숫자를 넣어주세요."); 19 | userInput[2] = int.Parse(Console.ReadLine()); 20 | Console.WriteLine("네 번째 숫자를 넣어주세요."); 21 | userInput[3] = int.Parse(Console.ReadLine()); 22 | Console.WriteLine("다섯 번째 숫자를 넣어주세요."); 23 | userInput[4] = int.Parse(Console.ReadLine()); 24 | Console.WriteLine("여섯 번째 숫자를 넣어주세요."); 25 | userInput[5] = int.Parse(Console.ReadLine()); 26 | 27 | if (userInput[0] == passcodeNumbers[0] && userInput[1] == passcodeNumbers[1] && userInput[2] == passcodeNumbers[2] && userInput[3] == passcodeNumbers[3] && userInput[4] == passcodeNumbers[4] && userInput[5] == passcodeNumbers[5]) 28 | { 29 | Console.WriteLine("문이 열렸습니다."); 30 | break; 31 | } 32 | else 33 | { 34 | Console.WriteLine("비밀번호가 틀렸습니다."); 35 | } 36 | } 37 | } 38 | } 39 | } -------------------------------------------------------------------------------- /07/StudentList/StudentList/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace StudentList 4 | { 5 | class Program 6 | { 7 | static void Main(string[] args) 8 | { 9 | Console.WriteLine("학생 숫자를 입력하세요."); 10 | int studentCount = int.Parse(Console.ReadLine()); 11 | 12 | int[] ages = new int[studentCount]; 13 | string[] names = new string[studentCount]; 14 | double[] heights = new double[studentCount]; 15 | 16 | Console.WriteLine("몇 번째 학생의 정보를 추가할까요?"); 17 | int studentNumber = int.Parse(Console.ReadLine()); 18 | 19 | if (studentNumber >= 0 && studentNumber < studentCount) 20 | { 21 | Console.WriteLine("나이를 입력하세요."); 22 | ages[studentNumber] = int.Parse(Console.ReadLine()); 23 | 24 | Console.WriteLine("이름을 입력하세요."); 25 | names[studentNumber] = Console.ReadLine(); 26 | 27 | Console.WriteLine("키를 입력하세요."); 28 | heights[studentNumber] = double.Parse(Console.ReadLine()); 29 | 30 | Console.Write(studentNumber); 31 | Console.WriteLine("번째 학생"); 32 | Console.Write("이름: "); 33 | Console.WriteLine(names[studentNumber]); 34 | Console.Write("나이: "); 35 | Console.WriteLine(ages[studentNumber]); 36 | Console.Write("키: "); 37 | Console.WriteLine(heights[studentNumber]); 38 | } 39 | else 40 | { 41 | Console.Write("0에서 "); 42 | Console.Write(studentCount - 1); 43 | Console.WriteLine(" 사이의 숫자를 입력하세요."); 44 | } 45 | } 46 | } 47 | } -------------------------------------------------------------------------------- /09/StudentList_For/StudentList_For/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace StudentList_For 4 | { 5 | class Program 6 | { 7 | static void Main(string[] args) 8 | { 9 | Console.WriteLine("학생 숫자를 입력하세요."); 10 | int studentCount = int.Parse(Console.ReadLine()); 11 | 12 | int[] ages = new int[studentCount]; 13 | string[] names = new string[studentCount]; 14 | double[] heights = new double[studentCount]; 15 | 16 | for (int studentNumber = 0; studentNumber < studentCount; studentNumber++) 17 | { 18 | Console.Write(studentNumber); 19 | Console.WriteLine("번째 학생의 정보를 입력할 차례입니다."); 20 | 21 | Console.WriteLine("나이를 입력하세요."); 22 | ages[studentNumber] = int.Parse(Console.ReadLine()); 23 | 24 | Console.WriteLine("이름을 입력하세요."); 25 | names[studentNumber] = Console.ReadLine(); 26 | 27 | Console.WriteLine("키를 입력하세요."); 28 | heights[studentNumber] = double.Parse(Console.ReadLine()); 29 | } 30 | 31 | Console.WriteLine("------------------------------------"); 32 | Console.WriteLine("입력된 학생정보를 출력할 차례입니다."); 33 | 34 | for (int studentNumber = 0; studentNumber < studentCount; studentNumber++) 35 | { 36 | Console.Write(studentNumber); 37 | Console.WriteLine("번째 학생"); 38 | Console.Write("이름: "); 39 | Console.WriteLine(names[studentNumber]); 40 | Console.Write("나이: "); 41 | Console.WriteLine(ages[studentNumber]); 42 | Console.Write("키: "); 43 | Console.WriteLine(heights[studentNumber]); 44 | } 45 | } 46 | } 47 | } -------------------------------------------------------------------------------- /10/DoorLock_6Num_Random/DoorLock_6Num_Random/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace DoorLock_6Num_Random 4 | { 5 | class Program 6 | { 7 | static void Main(string[] args) 8 | { 9 | Random random = new Random(); 10 | 11 | int passcodeLength = 6; 12 | 13 | int[] passcodeNumbers = new int[passcodeLength]; 14 | 15 | Console.WriteLine("비밀번호: "); 16 | for (int i = 0; i < passcodeLength; i++) 17 | { 18 | passcodeNumbers[i] = random.Next(0, 10); 19 | Console.Write(passcodeNumbers[i]); 20 | Console.Write(" "); 21 | } 22 | Console.WriteLine(); 23 | 24 | int[] userInput = new int[passcodeLength]; 25 | 26 | while (true) 27 | { 28 | for (int passcodeIndex = 0; passcodeIndex < passcodeLength; passcodeIndex++) 29 | { 30 | Console.Write(passcodeIndex); 31 | Console.WriteLine("번째 숫자를 넣어주세요."); 32 | userInput[passcodeIndex] = int.Parse(Console.ReadLine()); 33 | } 34 | 35 | bool isCorrectPassword = true; 36 | for (int passcodeIndex = 0; passcodeIndex < passcodeLength; passcodeIndex++) 37 | { 38 | if (userInput[passcodeIndex] != passcodeNumbers[passcodeIndex]) 39 | { 40 | isCorrectPassword = false; 41 | Console.WriteLine("비밀번호가 틀렸습니다."); 42 | break; 43 | } 44 | } 45 | 46 | if (isCorrectPassword) 47 | { 48 | Console.WriteLine("문이 열렸습니다."); 49 | break; 50 | } 51 | } 52 | } 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /08/StudentList_While/StudentList_While/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace StudentList_While 4 | { 5 | class Program 6 | { 7 | static void Main(string[] args) 8 | { 9 | Console.WriteLine("학생 숫자를 입력하세요."); 10 | int studentCount = int.Parse(Console.ReadLine()); 11 | 12 | int[] ages = new int[studentCount]; 13 | string[] names = new string[studentCount]; 14 | double[] heights = new double[studentCount]; 15 | 16 | int studentNumber = 0; 17 | while (studentNumber < studentCount) 18 | { 19 | Console.Write(studentNumber); 20 | Console.WriteLine("번째 학생의 정보를 입력할 차례입니다."); 21 | 22 | Console.WriteLine("나이를 입력하세요."); 23 | ages[studentNumber] = int.Parse(Console.ReadLine()); 24 | 25 | Console.WriteLine("이름을 입력하세요."); 26 | names[studentNumber] = Console.ReadLine(); 27 | 28 | Console.WriteLine("키를 입력하세요."); 29 | heights[studentNumber] = double.Parse(Console.ReadLine()); 30 | 31 | studentNumber = studentNumber + 1; 32 | } 33 | 34 | Console.WriteLine("------------------------------------"); 35 | Console.WriteLine("입력된 학생정보를 출력할 차례입니다."); 36 | 37 | studentNumber = 0; 38 | while (studentNumber < studentCount) 39 | { 40 | Console.Write(studentNumber); 41 | Console.WriteLine("번째 학생"); 42 | Console.Write("이름: "); 43 | Console.WriteLine(names[studentNumber]); 44 | Console.Write("나이: "); 45 | Console.WriteLine(ages[studentNumber]); 46 | Console.Write("키: "); 47 | Console.WriteLine(heights[studentNumber]); 48 | 49 | studentNumber = studentNumber + 1; 50 | } 51 | } 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /09/Gugudan/Gugudan/Gugudan.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {E99C818A-65F9-46E7-AB5A-35457EE73494} 8 | Exe 9 | Gugudan 10 | Gugudan 11 | v4.6.1 12 | 512 13 | true 14 | 15 | 16 | AnyCPU 17 | true 18 | full 19 | false 20 | bin\Debug\ 21 | DEBUG;TRACE 22 | prompt 23 | 4 24 | 25 | 26 | AnyCPU 27 | pdbonly 28 | true 29 | bin\Release\ 30 | TRACE 31 | prompt 32 | 4 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /07/DoorLock_6Num/DoorLock_6Num/DoorLock_6Num.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {85DFF2CA-F4C6-4470-82FB-B562FB75CF8D} 8 | Exe 9 | DoorLock_6Num 10 | DoorLock_6Num 11 | v4.6.1 12 | 512 13 | true 14 | 15 | 16 | AnyCPU 17 | true 18 | full 19 | false 20 | bin\Debug\ 21 | DEBUG;TRACE 22 | prompt 23 | 4 24 | 25 | 26 | AnyCPU 27 | pdbonly 28 | true 29 | bin\Release\ 30 | TRACE 31 | prompt 32 | 4 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /09/StudentList_For/StudentList_For/StudentList_For.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {34658E2A-AD4B-41D1-9BDB-19C44A7C364B} 8 | Exe 9 | StudentList_For 10 | StudentList_For 11 | v4.6.1 12 | 512 13 | true 14 | 15 | 16 | AnyCPU 17 | true 18 | full 19 | false 20 | bin\Debug\ 21 | DEBUG;TRACE 22 | prompt 23 | 4 24 | 25 | 26 | AnyCPU 27 | pdbonly 28 | true 29 | bin\Release\ 30 | TRACE 31 | prompt 32 | 4 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /04/WrongVariable/WrongVariable/WrongVariable/WrongVariable.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {285F7021-83EC-48FB-A333-E6C4D87D513C} 8 | Exe 9 | WrongVariable 10 | WrongVariable 11 | v4.6.1 12 | 512 13 | true 14 | 15 | 16 | AnyCPU 17 | true 18 | full 19 | false 20 | bin\Debug\ 21 | DEBUG;TRACE 22 | prompt 23 | 4 24 | 25 | 26 | AnyCPU 27 | pdbonly 28 | true 29 | bin\Release\ 30 | TRACE 31 | prompt 32 | 4 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /05/Echo/Echo/Echo.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {A499387A-671A-47E8-AAD5-5DBC065417CE} 8 | Exe 9 | StringInput 10 | StringInput 11 | v4.5.2 12 | 512 13 | true 14 | 15 | 16 | AnyCPU 17 | true 18 | full 19 | false 20 | bin\Debug\ 21 | DEBUG;TRACE 22 | prompt 23 | 4 24 | 25 | 26 | AnyCPU 27 | pdbonly 28 | true 29 | bin\Release\ 30 | TRACE 31 | prompt 32 | 4 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /08/StudentList_While/StudentList_While/StudentList_While.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {784B2D0E-2DFD-457C-9B73-BB8E74524D76} 8 | Exe 9 | StudentList_While 10 | StudentList_While 11 | v4.6.1 12 | 512 13 | true 14 | 15 | 16 | AnyCPU 17 | true 18 | full 19 | false 20 | bin\Debug\ 21 | DEBUG;TRACE 22 | prompt 23 | 4 24 | 25 | 26 | AnyCPU 27 | pdbonly 28 | true 29 | bin\Release\ 30 | TRACE 31 | prompt 32 | 4 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /09/DoorLock_6Num_For/DoorLock_6Num_For/DoorLock_6Num_For.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {F1075BA7-7C63-4C5B-9EC6-274B91AC82D8} 8 | Exe 9 | DoorLock_6Num_For 10 | DoorLock_6Num_For 11 | v4.6.1 12 | 512 13 | true 14 | 15 | 16 | AnyCPU 17 | true 18 | full 19 | false 20 | bin\Debug\ 21 | DEBUG;TRACE 22 | prompt 23 | 4 24 | 25 | 26 | AnyCPU 27 | pdbonly 28 | true 29 | bin\Release\ 30 | TRACE 31 | prompt 32 | 4 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /03/Constant/Constant/Constant.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {94868D22-2ED4-45CB-81F6-C56A2C75B61F} 8 | Exe 9 | Constant 10 | Constant 11 | v4.5.2 12 | 512 13 | true 14 | 15 | 16 | AnyCPU 17 | true 18 | full 19 | false 20 | bin\Debug\ 21 | DEBUG;TRACE 22 | prompt 23 | 4 24 | 25 | 26 | AnyCPU 27 | pdbonly 28 | true 29 | bin\Release\ 30 | TRACE 31 | prompt 32 | 4 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /04/Variable/Variable/Variable.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {CB918279-2ADA-4F4D-972D-773CEA78C28F} 8 | Exe 9 | Variable 10 | Variable 11 | v4.5.2 12 | 512 13 | true 14 | 15 | 16 | AnyCPU 17 | true 18 | full 19 | false 20 | bin\Debug\ 21 | DEBUG;TRACE 22 | prompt 23 | 4 24 | 25 | 26 | AnyCPU 27 | pdbonly 28 | true 29 | bin\Release\ 30 | TRACE 31 | prompt 32 | 4 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /06/ComparisonOperators/ComparisonOperators/ComparisonOperators.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {1F2C9380-11AB-4211-8EC5-450F49E9B2BD} 8 | Exe 9 | ComparisonOperators 10 | ComparisonOperators 11 | v4.6.1 12 | 512 13 | true 14 | 15 | 16 | AnyCPU 17 | true 18 | full 19 | false 20 | bin\Debug\ 21 | DEBUG;TRACE 22 | prompt 23 | 4 24 | 25 | 26 | AnyCPU 27 | pdbonly 28 | true 29 | bin\Release\ 30 | TRACE 31 | prompt 32 | 4 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /06/DoorLock/DoorLock/DoorLock.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {E0C6AFF8-A09A-4A2A-AF6F-1B9207337898} 8 | Exe 9 | DoorLock 10 | DoorLock 11 | v4.5.2 12 | 512 13 | true 14 | 15 | 16 | AnyCPU 17 | true 18 | full 19 | false 20 | bin\Debug\ 21 | DEBUG;TRACE 22 | prompt 23 | 4 24 | 25 | 26 | AnyCPU 27 | pdbonly 28 | true 29 | bin\Release\ 30 | TRACE 31 | prompt 32 | 4 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /08/DoorLock_6Num_While/DoorLock_6Num_While/DoorLock_6Num_While.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {0A081F7B-36F4-4DD3-8291-6E2EF7C3D259} 8 | Exe 9 | DoorLock_6Num_While 10 | DoorLock_6Num_While 11 | v4.6.1 12 | 512 13 | true 14 | 15 | 16 | AnyCPU 17 | true 18 | full 19 | false 20 | bin\Debug\ 21 | DEBUG;TRACE 22 | prompt 23 | 4 24 | 25 | 26 | AnyCPU 27 | pdbonly 28 | true 29 | bin\Release\ 30 | TRACE 31 | prompt 32 | 4 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /UltimateBaseball/UltimateBaseball/UltimateBaseball/UltimateBaseball.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {74636D51-1D36-4F84-A25B-39B01DA3EC2F} 8 | Exe 9 | UltimateBaseball 10 | UltimateBaseball 11 | v4.6.1 12 | 512 13 | true 14 | 15 | 16 | AnyCPU 17 | true 18 | full 19 | false 20 | bin\Debug\ 21 | DEBUG;TRACE 22 | prompt 23 | 4 24 | 25 | 26 | AnyCPU 27 | pdbonly 28 | true 29 | bin\Release\ 30 | TRACE 31 | prompt 32 | 4 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /04/Operators/Operators/Operators.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {26CCD10C-D73B-4BFB-8E02-890A423EE57B} 8 | Exe 9 | Operators 10 | Operators 11 | v4.5.2 12 | 512 13 | true 14 | 15 | 16 | AnyCPU 17 | true 18 | full 19 | false 20 | bin\Debug\ 21 | DEBUG;TRACE 22 | prompt 23 | 4 24 | 25 | 26 | AnyCPU 27 | pdbonly 28 | true 29 | bin\Release\ 30 | TRACE 31 | prompt 32 | 4 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /10/DoorLock_6Num_Random/DoorLock_6Num_Random/DoorLock_6Num_Random.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {0CFAA095-5A33-48F8-A859-EC0E7547D772} 8 | Exe 9 | DoorLock_6Num_Random 10 | DoorLock_6Num_Random 11 | v4.6.1 12 | 512 13 | true 14 | 15 | 16 | AnyCPU 17 | true 18 | full 19 | false 20 | bin\Debug\ 21 | DEBUG;TRACE 22 | prompt 23 | 4 24 | 25 | 26 | AnyCPU 27 | pdbonly 28 | true 29 | bin\Release\ 30 | TRACE 31 | prompt 32 | 4 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /05/Calculator/Calculator/Calculator.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {8F4AC0FB-14DD-4667-9F56-F3C77AD7F4D3} 8 | Exe 9 | Calculator 10 | Calculator 11 | v4.5.2 12 | 512 13 | true 14 | 15 | 16 | AnyCPU 17 | true 18 | full 19 | false 20 | bin\Debug\ 21 | DEBUG;TRACE 22 | prompt 23 | 4 24 | 25 | 26 | AnyCPU 27 | pdbonly 28 | true 29 | bin\Release\ 30 | TRACE 31 | prompt 32 | 4 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /06/Calculator/Calculator/Calculator.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {AF0CC729-2626-49B4-A9A7-66B8DE8B6396} 8 | Exe 9 | Calculator 10 | Calculator 11 | v4.5.2 12 | 512 13 | true 14 | 15 | 16 | AnyCPU 17 | true 18 | full 19 | false 20 | bin\Debug\ 21 | DEBUG;TRACE 22 | prompt 23 | 4 24 | 25 | 26 | AnyCPU 27 | pdbonly 28 | true 29 | bin\Release\ 30 | TRACE 31 | prompt 32 | 4 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /07/StudentList/StudentList/StudentList.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {EDE4EBE5-8571-4F33-94F3-506200A3A29B} 8 | Exe 9 | StudentList 10 | StudentList 11 | v4.5.2 12 | 512 13 | true 14 | 15 | 16 | AnyCPU 17 | true 18 | full 19 | false 20 | bin\Debug\ 21 | DEBUG;TRACE 22 | prompt 23 | 4 24 | 25 | 26 | AnyCPU 27 | pdbonly 28 | true 29 | bin\Release\ 30 | TRACE 31 | prompt 32 | 4 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /02/ConsoleWrite/ConsoleWrite/ConsoleWrite.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {6F9D7DD1-2BA5-494C-A7DA-395BB9A3C232} 8 | Exe 9 | ConsoleWrite 10 | ConsoleWrite 11 | v4.5.2 12 | 512 13 | true 14 | 15 | 16 | AnyCPU 17 | true 18 | full 19 | false 20 | bin\Debug\ 21 | DEBUG;TRACE 22 | prompt 23 | 4 24 | 25 | 26 | AnyCPU 27 | pdbonly 28 | true 29 | bin\Release\ 30 | TRACE 31 | prompt 32 | 4 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /01/MyFirstProgram/MyFirstProgram/MyFirstProgram.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {08328A42-DB4A-433F-9972-323238857AC9} 8 | Exe 9 | MyFirstProgram 10 | MyFirstProgram 11 | v4.5.2 12 | 512 13 | true 14 | 15 | 16 | AnyCPU 17 | true 18 | full 19 | false 20 | bin\Debug\ 21 | DEBUG;TRACE 22 | prompt 23 | 4 24 | 25 | 26 | AnyCPU 27 | pdbonly 28 | true 29 | bin\Release\ 30 | TRACE 31 | prompt 32 | 4 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /10/LottoNumberGenerator/LottoNumberGenerator/LottoNumberGenerator.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {F82AC75A-9D5C-41A5-8EAB-E347B850746C} 8 | Exe 9 | LottoNumberGenerator 10 | LottoNumberGenerator 11 | v4.5.2 12 | 512 13 | true 14 | 15 | 16 | AnyCPU 17 | true 18 | full 19 | false 20 | bin\Debug\ 21 | DEBUG;TRACE 22 | prompt 23 | 4 24 | 25 | 26 | AnyCPU 27 | pdbonly 28 | true 29 | bin\Release\ 30 | TRACE 31 | prompt 32 | 4 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # Set default behavior to automatically normalize line endings. 3 | ############################################################################### 4 | * text=auto 5 | 6 | ############################################################################### 7 | # Set default behavior for command prompt diff. 8 | # 9 | # This is need for earlier builds of msysgit that does not have it on by 10 | # default for csharp files. 11 | # Note: This is only used by command line 12 | ############################################################################### 13 | #*.cs diff=csharp 14 | 15 | ############################################################################### 16 | # Set the merge driver for project and solution files 17 | # 18 | # Merging from the command prompt will add diff markers to the files if there 19 | # are conflicts (Merging from VS is not affected by the settings below, in VS 20 | # the diff markers are never inserted). Diff markers may cause the following 21 | # file extensions to fail to load in VS. An alternative would be to treat 22 | # these files as binary and thus will always conflict and require user 23 | # intervention with every merge. To do so, just uncomment the entries below 24 | ############################################################################### 25 | #*.sln merge=binary 26 | #*.csproj merge=binary 27 | #*.vbproj merge=binary 28 | #*.vcxproj merge=binary 29 | #*.vcproj merge=binary 30 | #*.dbproj merge=binary 31 | #*.fsproj merge=binary 32 | #*.lsproj merge=binary 33 | #*.wixproj merge=binary 34 | #*.modelproj merge=binary 35 | #*.sqlproj merge=binary 36 | #*.wwaproj merge=binary 37 | 38 | ############################################################################### 39 | # behavior for image files 40 | # 41 | # image files are treated as binary by default. 42 | ############################################################################### 43 | #*.jpg binary 44 | #*.png binary 45 | #*.gif binary 46 | 47 | ############################################################################### 48 | # diff behavior for common document formats 49 | # 50 | # Convert binary document formats to text before diffing them. This feature 51 | # is only available from the command line. Turn it on by uncommenting the 52 | # entries below. 53 | ############################################################################### 54 | #*.doc diff=astextplain 55 | #*.DOC diff=astextplain 56 | #*.docx diff=astextplain 57 | #*.DOCX diff=astextplain 58 | #*.dot diff=astextplain 59 | #*.DOT diff=astextplain 60 | #*.pdf diff=astextplain 61 | #*.PDF diff=astextplain 62 | #*.rtf diff=astextplain 63 | #*.RTF diff=astextplain 64 | -------------------------------------------------------------------------------- /UltimateBaseball/UltimateBaseball/UltimateBaseball/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UltimateBaseball 4 | { 5 | class Program 6 | { 7 | static void Main(string[] args) 8 | { 9 | Console.WriteLine("+-----------------------------------------------------+"); 10 | Console.WriteLine("| 궁극의 숫자 야구 게임 |"); 11 | Console.WriteLine("+-----------------------------------------------------+"); 12 | Console.WriteLine("| 컴퓨터가 수비수가 되어 세 자리 수를 하나 골랐습니다.|"); 13 | Console.WriteLine("| 각 숫자는 0~9 중에 하나며 중복되는 숫자는 없습니다. |"); 14 | Console.WriteLine("| 모든 숫자와 위치를 맞추면 승리합니다. |"); 15 | Console.WriteLine("| 숫자와 순서가 둘 다 맞으면 스트라이크입니다. |"); 16 | Console.WriteLine("| 숫자만 맞고 순서가 틀리면 볼입니다. |"); 17 | Console.WriteLine("| 숫자가 틀리면 아웃입니다. |"); 18 | Console.WriteLine("+-----------------------------------------------------+"); 19 | 20 | Random random = new Random(); 21 | 22 | int[] numbers = new int[3]; 23 | int index = 0; 24 | while (index < 3) 25 | { 26 | numbers[index] = random.Next(0, 10); 27 | 28 | bool hasDuplicate = false; 29 | for (int i = 0; i < index; i++) 30 | { 31 | if (numbers[index] == numbers[i]) 32 | { 33 | hasDuplicate = true; 34 | break; 35 | } 36 | } 37 | 38 | if (!hasDuplicate) 39 | { 40 | index++; 41 | } 42 | } 43 | 44 | int[] guesses = new int[3]; 45 | string[] inputMessages = { "> 첫 번째 숫자를 입력하세요.", "> 두 번째 숫자를 입력하세요.", "> 세 번째 숫자를 입력하세요." }; 46 | 47 | while (true) 48 | { 49 | for (int i = 0; i < 3; i++) 50 | { 51 | Console.WriteLine(inputMessages[i]); 52 | guesses[i] = int.Parse(Console.ReadLine()); 53 | } 54 | 55 | Console.WriteLine("> 공격수가 고른 숫자"); 56 | 57 | for (int i = 0; i < 3; i++) 58 | { 59 | Console.WriteLine(guesses[i]); 60 | } 61 | 62 | if (guesses[0] == guesses[1] || guesses[0] == guesses[2] || guesses[1] == guesses[2]) 63 | { 64 | Console.WriteLine("같은 숫자를 입력하면 안 됩니다."); 65 | continue; 66 | } 67 | 68 | int strikeCount = 0; 69 | int ballCount = 0; 70 | 71 | for (int i = 0; i < 3; i++) 72 | { 73 | for (int j = 0; j < 3; j++) 74 | { 75 | if (guesses[i] == numbers[j]) 76 | { 77 | if (i == j) 78 | { 79 | strikeCount++; 80 | } 81 | else 82 | { 83 | ballCount++; 84 | } 85 | } 86 | } 87 | } 88 | 89 | Console.Write("스트라이크: "); 90 | Console.WriteLine(strikeCount); 91 | Console.Write("볼: "); 92 | Console.WriteLine(ballCount); 93 | Console.Write("아웃: "); 94 | Console.WriteLine(3 - strikeCount - ballCount); 95 | 96 | if (strikeCount == 3) 97 | { 98 | Console.WriteLine("정답입니다!"); 99 | break; 100 | } 101 | } 102 | } 103 | } 104 | } 105 | --------------------------------------------------------------------------------