using System;
public class Program
{
public static void Main()
string responce = "dogs";
switch(responce)
case "connection_failed";
Console.Writeline(responce)
//Block of cpde executes if the value of responce is "commcection_failed".
break;
case "connection_error":
Console.Writeline(responce);
// Block of code executes if the value of responce is "commcection_success".
case "commcection_error".
console.writeline(response);