static void Main(string[] args) { string anotherStr; if (anotherStr == "") { anotherStr = "bye"; } Console.ReadKey(); }