Wednesday, April 4, 2012

Multiple cases


Switch (value)
{
case 1: case 2: case 3:          
    // Do Something
    break;
case 4: case 5: case 6: 
    // Do Something
    break;
default:
    // Do Something
    break;
}

No comments:

Post a Comment

🚀 Building a Copilot‑based Meeting Scheduler (POC) using Microsoft Graph & Power Automate

  A practical, step‑by‑step guide for the Microsoft community 📌 Why this article? Many teams are exploring Copilot Studio to build convers...