Is there a way to specify a data type (specifically: int, text, byte, char) as a parameter? For example: (this doesn't work)
public void myclass(System.Object ChoosenType)
{
switch (ChoosenType)
case System.Text:
case System.Byte:
case System.Int32:
case Sustem.Char:
}