All Questions
1 question
7
votes
4
answers
2k
views
The need for Explicit Type Conversion in C#
Consider the following code:
DerivedClass drbObj = (DerivedClass)obj;
Here obj is of type Object and this is reasonable since Object is the base type of every Class in C#.
Here, since the type of ...