본문 바로가기

분류 전체보기61

[C#] Chap 11. First and Third Duplicate Values (test) using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace MyFirstCSharp_01 { public partial class Chap11_Test05_Review : Form { public Chap11_Test05_Review() { InitializeComponent(); } private void button1_Click(object sender, Event.. 2022. 6. 9.
[C#] Chapter 11. Sum of Three Random Numbers (test) using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace MyFirstCSharp_01 { public partial class Chap11_Test04_Review : Form { int[] iArray = new int[3]; int iCount = 0; public Chap11_Test04_Review() { InitializeComponent(); } priv.. 2022. 6. 9.
[C#] Chap 11. Fruit Order Program (test) using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace MyFirstCSharp_01 { public partial class Chap11_Middel_Test_T2 : Form { Dictionary MyDicMargin = new Dictionary(); int iOrderPrice = 0; // 총 결제 금액 int iAppleLeftCount = 10; //.. 2022. 6. 8.
[C#] Chapter 12. Exception Try Catch using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace MyFirstCSharp_01 { public partial class Chap12_Exception_TryCatch : Form { int[] iValueArray = new int[] { 1, 2, 3 }; // 예외처리 Exception // 프로그램 구동 시 발생할 수 있는 오류를 검출하여 // 오류로 .. 2022. 6. 7.