Updated Write2DtoExcel with LINQ query