Java.Lang.ClassCastException Class
Thrown when a program attempts to cast a an object to a type with which it is not compatible.

See Also: ClassCastException Members

Syntax

[Android.Runtime.Register("java/lang/ClassCastException", DoNotGenerateAcw=true)]
public class ClassCastException : RuntimeException

Remarks

Thrown when a program attempts to cast a an object to a type with which it is not compatible.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1