using System; public class FooBar { public static void Main(String[] args) { String s="12"; FooBar b=null; Object a= args.Length==0 ? (Object) s : (Object) b; } }