public class Solution { public int[] SortArrayByParityII(int[] nums) { int n = Convert.ToInt32(nums); if(n % 2 == 0) { Console.WriteLine(n); } else { Console.WriteLine(n); } }}
Line 2: Char 18: error CS0161: 'Solution.SortArrayByParityII(int[])': not all code paths return a value (in Solution.cs)