public Dictionary <string, string> GetProjectDetail() { Dictionary <string, string> projectDetail = new Dictionary <string, string>(); //projectDetail.Add ("Home Owner ID:", HouseOwnerID); projectDetail.Add("App ID:", projectID); projectDetail.Add("Pathway Type:", Pathway.ToString()); //projectDetail.Add ("Applicant Number:", ContractNo); projectDetail.Add("Homeowner Name:", HouseOwnerName); projectDetail.Add("Type Of Inspection:", InspectionType); projectDetail.Add("Inspection Date:", inspectionDateTime.ToString()); projectDetail.Add("Inspection Attempt:", InspectionAttemptCount); projectDetail.Add("Activity Address:", (InspectionAddress1 + "," + InspectionAddress2 + " " + "" + City + " " + Pincode).Trim()); projectDetail.Add("Contractor Name:", ContractorName); return(projectDetail); }