Similar to Pass in Python for C# May 20, 2023 by Tarik Use empty braces. int a = 5; if (a == 5) {} else { Console.Write("Hello World"); }