About Me

Training

Develop With Passion® - Developer Bootcamp

Subscribe

Fixing the Code Formatting Issue

Written December 19, 2008 at 13:46 MST Tagged general

After the many emails about the code formatting issues with feed readers. Here is my attempt to get it resolved.
Please get back to me with comments, if this fixes it (or if it doesn’t):

static public void should_not_contain(this IEnumerable items, params T[] items_that_should_not_be_found)

{

var list = new List(items);

foreach (var item in items_that_should_not_be_found) Assert.IsFalse(list.Contains(item));

}