Sign in | Join
Last post 05-12-2008 7:59 AM by hspharic. 2 replies.
Sort Posts: Oldest to newest Newest to oldest
Is it possible to use a switch statement to evaluate if an object inherits a particular interface? Something like:
switch(mystery content)
{
case IList://blahbreak;
case IDictionary://blahbreak;
}
No.
The types of the values a switch statement operates on can be booleans, enums, integral types, and strings
Hi,
Try this,
strTypes +=
Hope this will help you.
Happy Coding...