Guest User

Untitled

a guest
Dec 11th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.35 KB | None | 0 0
  1. public static bool Keep(List<Foo> foos, Foo foo, string argumentBar)
  2. {
  3.   bool flag = false;
  4.   foreach (var oldFoo in foos)
  5.   {
  6.     if (oldFoo.OldStuff.Baz == foo.Baz)
  7.     {
  8.       if (oldFoo.Xyzzy == MyBoringEnum.SomeValue)
  9.       {
  10.         if (argumentBar == "f00")
  11.         {
  12.           flag = true;
  13.         }
  14.       }
  15.     }
  16.   }
  17.   return flag;
  18. }
Add Comment
Please, Sign In to add comment