string check = textbox1.Text; if (duplicate.Contains(check) == true) { int remove = Math.Max(0, final.Count - 25); final.RemoveRange(0, remove); int delete = Math.Max(0, duplicate.Count - 5); duplicate.RemoveRange(5, delete); duplicate.Add(check); duplicate.AddRange(final); }
textbox1
WordCloudHelper
GetWordCloud
check
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)