if you send array = [] from ajax to c# controller it show array =null in C# method not count =0 to fix this []='[]'