using System.Collections.Generic;
public static void Main()
Stack<string> stack = new Stack<string>();
string weather = "Rainy";
Tuple<bool, string>[] conds = {
new Tuple<bool, string>(weather != null, "_" + weather),
new Tuple<bool, string>(night && weather != null, "_Night_" + weather),
new Tuple<bool, string>(weather != null && married, "_" + weather + "_Spouse"),
new Tuple<bool, string>(night && married && weather != null, "_Night_" + weather + "_Spouse"),
foreach (var cond in conds)
Console.WriteLine(stack.Pop());