using System; public class XYZ { public static void printf(params char[] args) { if(args==null) { Console.WriteLine("It worked"); } } public static void oprintf(params Object[] args) { if(args==null) { Console.WriteLine("It failed"); } } public static void Main() { printf(null); // should pass null array oprintf(null); // should pass new Object[]{null} ? } }