Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Switch on String
//Microsoft (R) Visual C# Compiler version 3.4.0-beta4-19562-05 (ff930dec) //Copyright (C) Microsoft Corporation. All rights reserved. using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { const string test = "test"; switch (test) { case "test": Console.WriteLine("switch on test"); break; default: Console.WriteLine("nope"); break; } } } }
run
|
edit
|
history
|
help
0
ProbableCause
Hex_Base64
Ship! Wall
Get Error Message Based on String
PolyMorphism
Pascal Tringle
an attempt at making a usable code thing
Hash autoryzujący
my sql
4.1 Composition