|
|
|
70-536 вопрос про делегатах
|
|||
|---|---|---|---|
|
#18+
Вопрос есть в braindumps и дан на него ответ (взято из разных источников): Question: 165 [84, 165, 206] You need to write a multicast delegate that accepts a DateTime argument and returns a Boolean value. Which code segment should you use? A. public delegate int PowerDeviceOn(bool, DateTime); B. public delegate bool PowerDeviceOn(Object, EventArgs); C. public delegate void PowerDeviceOn(DateTime); D. public delegate bool PowerDeviceOn(DateTime); Answer: A А я считаю, что верный ответ: D. Делегат возвращает bool, а принимает DataTime. Объясните, пожалуйста, что я не так понял. Спасибо! ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 18.10.2008, 00:12:19 |
|
||
|
|

start [/forum/topic.php?fid=34&msg=35607421&tid=1550730]: |
0ms |
get settings: |
8ms |
get forum list: |
10ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
63ms |
get topic data: |
6ms |
get forum data: |
1ms |
get page messages: |
25ms |
get tp. blocked users: |
1ms |
| others: | 221ms |
| total: | 341ms |

| 0 / 0 |
