Question about switch statement
-
Hy, Can you put in a switch statement anything else besides basic types...i mean can you do something like:
DataColumn dt;
switch(dt)
{
case ...:
case ...:
}Thanks.
There are 10 kinds of people: those who understand binary and those who don't
-
Hy, Can you put in a switch statement anything else besides basic types...i mean can you do something like:
DataColumn dt;
switch(dt)
{
case ...:
case ...:
}Thanks.
There are 10 kinds of people: those who understand binary and those who don't
-
No, integral types only (string,int,short,decimal etc)
Thanks. Back to the drawing board :->
There are 10 kinds of people: those who understand binary and those who don't
-
Hy, Can you put in a switch statement anything else besides basic types...i mean can you do something like:
DataColumn dt;
switch(dt)
{
case ...:
case ...:
}Thanks.
There are 10 kinds of people: those who understand binary and those who don't