質問編集履歴
1
コードに```を追記しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -46,6 +46,12 @@
|
|
46
46
|
|
47
47
|
|
48
48
|
|
49
|
+
|
50
|
+
|
51
|
+
```
|
52
|
+
|
53
|
+
|
54
|
+
|
49
55
|
using System;
|
50
56
|
|
51
57
|
using System.Collections.Generic;
|
@@ -54,7 +60,11 @@
|
|
54
60
|
|
55
61
|
public class Hello{
|
56
62
|
|
63
|
+
|
64
|
+
|
57
65
|
public static void Main(){
|
66
|
+
|
67
|
+
|
58
68
|
|
59
69
|
var value = new tekito2();
|
60
70
|
|
@@ -62,7 +72,11 @@
|
|
62
72
|
|
63
73
|
value.Property2 = 20;
|
64
74
|
|
75
|
+
|
76
|
+
|
65
|
-
}
|
77
|
+
}
|
78
|
+
|
79
|
+
|
66
80
|
|
67
81
|
}
|
68
82
|
|
@@ -70,31 +84,51 @@
|
|
70
84
|
|
71
85
|
public class tekito1{
|
72
86
|
|
87
|
+
|
88
|
+
|
73
89
|
int c ;
|
74
90
|
|
75
91
|
|
76
92
|
|
77
93
|
public int Property{
|
78
94
|
|
95
|
+
|
96
|
+
|
79
97
|
get{
|
98
|
+
|
99
|
+
|
80
100
|
|
81
101
|
return c;
|
82
102
|
|
103
|
+
|
104
|
+
|
83
105
|
}
|
106
|
+
|
107
|
+
|
84
108
|
|
85
109
|
set{
|
86
110
|
|
111
|
+
|
112
|
+
|
87
113
|
c = value;
|
114
|
+
|
115
|
+
|
88
116
|
|
89
117
|
}
|
90
118
|
|
119
|
+
|
120
|
+
|
91
121
|
}
|
122
|
+
|
123
|
+
|
92
124
|
|
93
125
|
}
|
94
126
|
|
95
127
|
|
96
128
|
|
97
129
|
public class tekito2{
|
130
|
+
|
131
|
+
|
98
132
|
|
99
133
|
tekito1 a ;
|
100
134
|
|
@@ -106,21 +140,37 @@
|
|
106
140
|
|
107
141
|
get{
|
108
142
|
|
143
|
+
|
144
|
+
|
109
145
|
return a.Property;
|
146
|
+
|
147
|
+
|
110
148
|
|
111
149
|
}
|
112
150
|
|
151
|
+
|
152
|
+
|
113
153
|
set{
|
154
|
+
|
155
|
+
|
114
156
|
|
115
157
|
a.Property = value;
|
116
158
|
|
159
|
+
|
160
|
+
|
117
161
|
}
|
118
162
|
|
163
|
+
|
164
|
+
|
119
|
-
}
|
165
|
+
}
|
166
|
+
|
167
|
+
|
120
168
|
|
121
169
|
}
|
122
170
|
|
123
171
|
|
172
|
+
|
173
|
+
```
|
124
174
|
|
125
175
|
### 発生したエラーの内容
|
126
176
|
|