is
if (b is Button) { // True! } if (b is Control) { // True! } if (b is Typewriter) { // False! }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)