private string ExtractDomainName() { if (Expanded_Url.Contains(@"://")) { Expanded_Url = Expanded_Url.Split(new string[] { "://" }, 2, StringSplitOptions.None)[1]; } return(Expanded_Url.Split('/')[0]); }
private bool ContainsPic() { bool isPic = false; if (Expanded_Url.Contains(@"pic.twitter.com") || Expanded_Url.Contains("instagram")) { isPic = true; } return(isPic); }