Using KeywordQuery with CSOM SharePoint Online

string username = "***********"; string pwd = "*********"; string siteURL = "**********"; ClientContext context = new ClientContext(siteURL); Web web = context.Web; SecureString pass = new SecureString(); foreach (char c in pwd.ToCharArray()) pass.AppendChar(c); context.Credentials = new SharePointOnlineCredentials(username,...