Speed Test: Switch vs If-Else-If(blackwasp.co.uk)
submitted by
BlackWasp(4212) 5 years, 2 months ago
The .NET framework and the C# language provide two methods for conditional processing where multiple discrete values can be selected from. The switch statement is less flexible than the if-else-if ladder but is generally considered to be more efficient.
|category: C#
|Views: 408
tags:
Switch Performance another
Everyones tags:
Your Tags: