Speed Test: Switch vs If-Else-If(blackwasp.co.uk)
submitted by
BlackWasp(4024) 4 years, 10 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: 386
tags:
Switch Performance another
Everyones tags:
Your Tags: