I'm using XUnit with this code to check string if contains a character in an array of string but it doesn't work. How can I fix this?
char[] chars = {'a','b','c'};
string value = "Hello";
Assert.Contains(value,chars);
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Salman BegPosted Apr 27, 2021, 5:36 PM