StackOverflow Questions for Tag: switch-statement

Daniel
Daniel

Reputation: 7724

Is is possible to have multiple lines in a switch statement of C# 8?

Score: 0

Views: 182

Answers: 1

Read More
Stephen B.
Stephen B.

Reputation: 204

Why can't I have a duplicate case in my switch statement?

Score: 3

Views: 5321

Answers: 2

Read More
Ved
Ved

Reputation: 8767

How switch cases are executed for strings?

Score: 1

Views: 539

Answers: 3

Read More
xtay2
xtay2

Reputation: 817

Why did JEP 441 weaken the dominance checking of guarded patterns compared to JEP 420

Score: 1

Views: 120

Answers: 2

Read More
xtay2
xtay2

Reputation: 817

Why isn't it possible to switch over class objects?

Score: 1

Views: 3948

Answers: 4

Read More
Marko OK
Marko OK

Reputation: 25

Azure Data Factory: Accessing a variable value set inside a Switch activity outside of the Switch in the same pipeline

Score: 0

Views: 1626

Answers: 2

Read More
Raymond Hettinger
Raymond Hettinger

Reputation: 226624

Capture makes remaining patterns unreachable

Score: 47

Views: 22506

Answers: 3

Read More
sharptooth
sharptooth

Reputation: 170539

Why is C4062 Visual C++ warning off by default?

Score: 4

Views: 1562

Answers: 4

Read More
Geob-o-matic
Geob-o-matic

Reputation: 6079

Kotlin 'when' statement vs Java 'switch'

Score: 77

Views: 51304

Answers: 12

Read More
Malthe22
Malthe22

Reputation: 15

How can I encrypt numbers to a correct String

Score: 0

Views: 133

Answers: 1

Read More
Thomas
Thomas

Reputation: 8968

What is the difference between switch and select in Go?

Score: 76

Views: 37990

Answers: 3

Read More
Dududu13
Dududu13

Reputation: 1

How to scroll horizontaly a part of screen (Fragment or other ?)

Score: 0

Views: 14

Answers: 0

Read More
karlek
karlek

Reputation: 558

Why isn't fallthrough allowed in a type switch?

Score: 40

Views: 18764

Answers: 2

Read More
Paul C
Paul C

Reputation: 8497

How to have a code block for a case statement for a switch that assigns a value?

Score: 2

Views: 86

Answers: 1

Read More
ultrafiremods
ultrafiremods

Reputation: 1

page specific product template opencart 2.0.1.1

Score: 0

Views: 372

Answers: 1

Read More
Stickandjab
Stickandjab

Reputation: 17

Try catch and user input

Score: 0

Views: 33303

Answers: 3

Read More
Saran
Saran

Reputation: 61

Switch to windows containers with docker for windows toolbox

Score: 6

Views: 22372

Answers: 3

Read More
Mayur Dabhi
Mayur Dabhi

Reputation: 3936

How to implement switch-case statement in Kotlin

Score: 252

Views: 320543

Answers: 10

Read More
SQL Pup
SQL Pup

Reputation: 31

Switch statement not working with my List objects

Score: 0

Views: 37

Answers: 0

Read More
Lone Learner
Lone Learner

Reputation: 20698

Does the -?* pattern provide any advantage over -* for matching unknown command line option?

Score: 2

Views: 155

Answers: 1

Read More
PreviousPage 5Next