// function to demonstrate the use of is keyword static void data() { int val = 123; object objVal = val; if (objVal is int) MessageBox.Show(val + " is integer"); }
// function to demonstrate the use of is keyword static void data() { int val = 123; object objVal = val; if (objVal is int) MessageBox.Show(val + " is integer"); }
Leave a Reply