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

🧠 Microsoft 365 Copilot Studio Licensing: A Simple Guide

 If you're planning to build your own AI assistants (called copilots ) using Microsoft 365 Copilot Studio, it's important to underst...