Hello
I got a recent question in which how to use if within switch. I would not prefer it but here is the code
public class NoneFluentAPI { public NoneFluentAPI() { var a = ""; switch (a) { case "first": a = ""; if (a == "nn") a = "22"; break; default: a = ""; break; } } }