using System; public class Usage { public static void Main () { var bug = new Bug (); string[] tags = bug.MethodWithOptionalParameter (0); } } public class Bug { public TValue[] MethodWithOptionalParameter (int index, TValue[] defaultValue = null) { return null; } }