public class Program
{
public static void Main()
dynamic obj = GetObject(); // ★
string str;
if ((obj != null) && ((str = GetString()) != null)) // ◆
System.Console.WriteLine(obj + str); // ▲
}
static object GetObject()
return "hello";
static string GetString()
return "goodbye";