public static void DoTheAwesomez(this ISomeInterface obj, int count)
 {
     for (int i = 0; i < count; i++)
     {
         obj.Foo();
         obj.Bar();
     }
 }
 static void SomeFunction(ISomeInterface <int> value)
 {
     value.Foo();
 }