Information Technology Reference
In-Depth Information
A delegate can be implicitly converted to the .NET BCL classes and interfaces shown in
Figure 18-19.
An array,
ArrayS
, with elements of type
Ts
, can be implicitly converted to
The .NET BCL class and interfaces shown in Figure 18-19.
Another array,
ArrayT
, with elements of type
Tt
, if
all
of the following are true:
- Both arrays have the same number of dimensions.
- The element types,
Ts
and
Tt
, are reference types—
not
value types.
-There is an
implicit
conversion between types
Ts
and
Tt
.
Figure 18-19.
Implicit conversions for delegates and arrays