private void _btnFindSubomainsTest_Click(object sender, EventArgs e) { string domain = _txtDomain.Text; StringBuilder sb = new StringBuilder(); sb.Append("Testing findsubdomains.com..."); List <string> subDomains = Hunter.Gather_FindSubdomains(domain); sb.Append("Subdomains found: " + subDomains.Count); foreach (string sub in subDomains.Take(5)) { sb.Append(sub + Environment.NewLine); } LogTest(sb.ToString()); }