StackOverflow Questions for Tag: switch-statement

peteyb1
peteyb1

Reputation: 1

DHCP in Packet tracer

Score: -3

Views: 18

Answers: 0

Read More
Basj
Basj

Reputation: 46303

switch statement and K&R indentation

Score: -3

Views: 94

Answers: 1

Read More
T1412
T1412

Reputation: 755

Why doesn't Python have switch-case? (Update: match-case syntax was added to Python 3.10 in 2021)

Score: 71

Views: 50372

Answers: 8

Read More
Luis Alvarado
Luis Alvarado

Reputation: 9406

How to use a range of numbers as a case statement in Bash?

Score: 38

Views: 79915

Answers: 6

Read More
박세영
박세영

Reputation: 1

Customizing SwitchCompat

Score: 0

Views: 17

Answers: 0

Read More
Arvind Kumar Avinash
Arvind Kumar Avinash

Reputation: 79530

Does switch support objects other than Byte, Short, Character, Integer, enumerated types, and the String type?

Score: 7

Views: 111

Answers: 1

Read More
Michael Schneider
Michael Schneider

Reputation: 17968

Replacements for switch statement in Python?

Score: 1716

Views: 2335023

Answers: 44

Read More
Arvind Kumar Avinash
Arvind Kumar Avinash

Reputation: 79530

What are switch expressions and how are they different from switch statements?

Score: 44

Views: 28327

Answers: 4

Read More
Raymond Hettinger
Raymond Hettinger

Reputation: 226614

Convert multiple isinstance checks to structural pattern matching

Score: 50

Views: 20308

Answers: 2

Read More
CKuttan
CKuttan

Reputation: 49

How to convert a C#8 switch expression to a classic switch?

Score: -1

Views: 104

Answers: 1

Read More
LPS
LPS

Reputation: 631

Switch statement for matching substrings of a String

Score: 41

Views: 18655

Answers: 7

Read More
Rice
Rice

Reputation: 3531

Serializing c# use switch to serialize a Readme

Score: 1

Views: 122

Answers: 1

Read More
evie_and_eevees
evie_and_eevees

Reputation: 13

PHP switch case to update array not affecting array

Score: 1

Views: 46

Answers: 2

Read More
Markus
Markus

Reputation: 3397

Dead code in switch/case statements, why is it allowed?

Score: 3

Views: 231

Answers: 3

Read More
iusting
iusting

Reputation: 8383

Java using HashMap with switch statement

Score: 0

Views: 9185

Answers: 2

Read More
Shiva Naru
Shiva Naru

Reputation: 1215

C# 8 switch expression for void methods

Score: 59

Views: 31953

Answers: 4

Read More
Matteo Bonacini
Matteo Bonacini

Reputation: 55

I need to write a series of C++ switch branches that do the same thing but to different variables. How can I do that programmatically?

Score: 4

Views: 144

Answers: 4

Read More
Alexis Olson
Alexis Olson

Reputation: 40234

Force DAX SWITCH function to use strict (lazy) short-circuit evaluation

Score: 16

Views: 2702

Answers: 2

Read More
user1433164
user1433164

Reputation: 311

C# - Switch Enum - Type name ' ' does not exist in the type ' '

Score: 2

Views: 4621

Answers: 2

Read More
ArcticPuma
ArcticPuma

Reputation: 3

Case argument that verifies if value is in a range of cells

Score: 0

Views: 77

Answers: 3

Read More
PreviousPage 1Next