C# | MVC | DotnetCore | Web API | Blazor | HTML | BootStrap | JavaScript | JQuery | EF | Angular | SQL | Azure
string occur = "Test1"; IList<String> words = new List<string>() {"Test1","Test2","Test3","Test1"}; int count = words.Where(x => x.Equals(occur)).Count();
No comments:
Post a Comment