Monday, September 18, 2006

as in C#

The keyword as in c# prevents the InvalidCastException From happening , its default behaviour is to nullify the object being casted . When the object being casted is used it thwrows a Null Exception .

No comments: