DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSHARP
c# return switch
return a switch { 1 => "lalala", 2 => "blalbla", 3 => "lolollo", _ => "default" };
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#return
#switch
ADD COMMENT
Topic
COMMENT
Name
6+1 =
Submit