練習用です。いろんなものがごちゃまぜです。
| @@ -10,6 +10,8 @@ | ||
| 10 | 10 | { |
| 11 | 11 | static void Main(string[] args) |
| 12 | 12 | { |
| 13 | + list1.start(args); | |
| 14 | + Console.ReadKey(); | |
| 13 | 15 | } |
| 14 | 16 | } |
| 15 | 17 | } |
| @@ -0,0 +1,19 @@ | ||
| 1 | +using System; | |
| 2 | +using System.Collections.Generic; | |
| 3 | +using System.Linq; | |
| 4 | +using System.Text; | |
| 5 | +using System.Threading.Tasks; | |
| 6 | + | |
| 7 | +namespace chap03 | |
| 8 | +{ | |
| 9 | + class list1 | |
| 10 | + { | |
| 11 | + public static void start(string[] args) | |
| 12 | + { | |
| 13 | + Console.WriteLine($"3+2={3 + 2}"); | |
| 14 | + Console.WriteLine($"3-2={3 - 2}"); | |
| 15 | + Console.WriteLine($"3*2={3 * 2}"); | |
| 16 | + Console.WriteLine($"3/2={3 / 2}"); | |
| 17 | + } | |
| 18 | + } | |
| 19 | +} |