Questions tagged [switch-case]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
11
votes
1answer
965 views

Most efficient way to switch on SObjectType?

It is a bit odd we can't evaluate a switch statement directly on SObjectType, so I am trying to determine conclusively which workaround is the most efficient. Just to verify, I tried to compile this ...