Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- List<string> Vector = new List<string>();
- var wordIsExist = "1";
- var wordIsntExist = "0";
- foreach (var word in newWords)
- {
- if (Dictionary.Contains(word))
- {
- Vector.Add(wordIsExist);
- Console.WriteLine("1");
- }
- else { Vector.Add(wordIsntExist); Console.WriteLine("0"); }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement