{"action":"created","issue":{"url":"https://api.github.com/repos/dennisdoomen/fluentassertions/issues/219","labels_url":"https://api.github.com/repos/dennisdoomen/fluentassertions/issues/219/labels{/name}","comments_url":"https://api.github.com/repos/dennisdoomen/fluentassertions/issues/219/comments","events_url":"https://api.github.com/repos/dennisdoomen/fluentassertions/issues/219/events","html_url":"https://github.com/dennisdoomen/fluentassertions/issues/219","id":55259478,"number":219,"title":"StringCollectionAssertions.Contain overloads","user":{"login":"Meir017","id":9786571,"avatar_url":"https://avatars.githubusercontent.com/u/9786571?v=3","gravatar_id":"","url":"https://api.github.com/users/Meir017","html_url":"https://github.com/Meir017","followers_url":"https://api.github.com/users/Meir017/followers","following_url":"https://api.github.com/users/Meir017/following{/other_user}","gists_url":"https://api.github.com/users/Meir017/gists{/gist_id}","starred_url":"https://api.github.com/users/Meir017/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Meir017/subscriptions","organizations_url":"https://api.github.com/users/Meir017/orgs","repos_url":"https://api.github.com/users/Meir017/repos","events_url":"https://api.github.com/users/Meir017/events{/privacy}","received_events_url":"https://api.github.com/users/Meir017/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-23T09:08:23Z","updated_at":"2015-01-23T11:26:30Z","closed_at":null,"body":"When writing something like this:\r\n```csharp\r\nIEnumerable<string> actual = new[] {\"text1\", \"text2\", \"text3\"};\r\nIEnumerable<string> expected = new[] {\"text1\", \"text2\"};\r\nactual.Should().Contain(expected, \"because some reason\");\r\n```\r\nThe Overloads:\r\n```csharp\r\npublic AndConstraint<StringCollectionAssertions> Contain(IEnumerable<string> expectedItemsList,\r\n            string additionalExpectedItem);\r\npublic AndConstraint<StringCollectionAssertions> Contain(IEnumerable<string> expected, string because, object reasonArg, params object[] reasonArgs);\r\n```\r\nThe only wasy I was able to use the overload with the because was writing something like this:\r\n```csharp\r\nactual.Should().Contain(expected, \"{0}\", \"because some reason\");\r\n```"},"comment":{"url":"https://api.github.com/repos/dennisdoomen/fluentassertions/issues/comments/71180795","html_url":"https://github.com/dennisdoomen/fluentassertions/issues/219#issuecomment-71180795","issue_url":"https://api.github.com/repos/dennisdoomen/fluentassertions/issues/219","id":71180795,"user":{"login":"dennisdoomen","id":572734,"avatar_url":"https://avatars.githubusercontent.com/u/572734?v=3","gravatar_id":"","url":"https://api.github.com/users/dennisdoomen","html_url":"https://github.com/dennisdoomen","followers_url":"https://api.github.com/users/dennisdoomen/followers","following_url":"https://api.github.com/users/dennisdoomen/following{/other_user}","gists_url":"https://api.github.com/users/dennisdoomen/gists{/gist_id}","starred_url":"https://api.github.com/users/dennisdoomen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dennisdoomen/subscriptions","organizations_url":"https://api.github.com/users/dennisdoomen/orgs","repos_url":"https://api.github.com/users/dennisdoomen/repos","events_url":"https://api.github.com/users/dennisdoomen/events{/privacy}","received_events_url":"https://api.github.com/users/dennisdoomen/received_events","type":"User","site_admin":false},"created_at":"2015-01-23T11:26:30Z","updated_at":"2015-01-23T11:26:30Z","body":"What if you do this?\r\n\r\n    actual.Should().Contain(expected.ToArray(), \"because some reason\");"}}