Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
C#
c# switch case with or condition
lable
Programming language:
C#
2021-05-10 10:43:42
0
Q:
c# switch case with or condition
ch3ru
Code:
C#
2021-03-18 15:37:41
int
i =
5
;
switch
(i) {
case
(
1
):
case
(
2
): Console.WriteLine(i);
break
;
default
:
break
; }
1
Tags
switch
con
Related
nested switch c#
how to make if statement c#
syntaxe switch c#
c# select case
c# switch statement
c# switct case
switch case c# range
c# 8 switch
swith c#
can you have multiple statement in a case c#
switch case c# contains
switch case c#
c# swith
multi case in c#
Type in switch case argument c#
c# switch case
New to Communities?
Join the community