練習用です。いろんなものがごちゃまぜです。
| @@ -8,13 +8,9 @@ | ||
| 8 | 8 | { |
| 9 | 9 | class list4 |
| 10 | 10 | { |
| 11 | - private static void sample() | |
| 12 | - { | |
| 13 | - Console.WriteLine("QX"); | |
| 14 | - } | |
| 15 | 11 | public static void start(string[] args) |
| 16 | 12 | { |
| 17 | - Action act = sample; | |
| 13 | + Action act = () => { Console.WriteLine("QX"); }; | |
| 18 | 14 | act(); |
| 19 | 15 | } |
| 20 | 16 | } |