switch (num) { case 1: Response.Write("1"); break; case 2: case 3: Response.Write("2|3"); break; default: Response.Write("default"); break; }