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