Consider:
and:Code:Control c = new Control(); object o = (object)c; Control x = (Control)o;
Is either method preferable and if so why?Code:Control c = new Control(); object o = c as object; Control x = o as Control;
|
Results 1 to 4 of 4
Threaded View
|
Click Here to Expand Forum to Full Width |