First page Back Continue Last page Overview Graphics
Hatalı Casting
Şayet uyumsuz tipler arasında casting yapılırsa InvallidCastException hatası throw edilir
Örneğin, Base Class’ın, Derived Class’a cast edilmesi bir exceptiondır.
An unhandled exception of type 'System.InvalidCastException‘ occurred in ….