Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int o = 0; // ou int o = null
- if(cast(int) o)
- Stdout("o is an instance of int").newline;
- else
- Stdout("o isn't an instance of int").newline;
- Output : o isn't an instance of int
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement