Sep 14 2004 12:34 AM 2382 4 Is there an equivalent to the instanceof operator in Visual J++? C# has the is operator: expr is type Elean0r Profile Answers by Elean0r Questions by Elean0r May 24th, 2011 The C# "is" operator can be used to test whether an object reference ( run-time type) is compatible with a defined type ( compile type). The operator returns a Boolean result and is hence most often used within an if statement. sasi4u Profile Answers by sasi4u Questions by sasi4u Sep 29th, 2008 EX:==============using System; class ClassA {} public class TestIs{ public static void Test (object o) { ClassA a = null; &n... Answer Question Select Best Answer
Sep 14 2004 12:34 AM 2382 4 Is there an equivalent to the instanceof operator in Visual J++? C# has the is operator: expr is type Elean0r Profile Answers by Elean0r Questions by Elean0r May 24th, 2011 The C# "is" operator can be used to test whether an object reference ( run-time type) is compatible with a defined type ( compile type). The operator returns a Boolean result and is hence most often used within an if statement. sasi4u Profile Answers by sasi4u Questions by sasi4u Sep 29th, 2008 EX:==============using System; class ClassA {} public class TestIs{ public static void Test (object o) { ClassA a = null; &n... Answer Question Select Best Answer
Elean0r Profile Answers by Elean0r Questions by Elean0r May 24th, 2011 The C# "is" operator can be used to test whether an object reference ( run-time type) is compatible with a defined type ( compile type). The operator returns a Boolean result and is hence most often used within an if statement.
sasi4u Profile Answers by sasi4u Questions by sasi4u Sep 29th, 2008 EX:==============using System; class ClassA {} public class TestIs{ public static void Test (object o) { ClassA a = null; &n...