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:

Extracting x-ms-exchange-parent-message-id from a Text File Using Python

In the world of email processing and automation, extracting specific headers from email metadata can be crucial for various tasks. One such ...