get and set method on empty array c# code example Example: c# empty array object[] emptyArray = new object[0];