Browse files

public static T Disp<T>(this T obj, string fmt)

  • Loading branch information...
1 parent 6c541dd commit bc77f32ff4645e2995887b333e6d16897f70d4dc @dharmatech committed Mar 11, 2013
Showing with 5 additions and 1 deletion.
  1. +5 −1 Utils/Utils.cs
View
6 Utils/Utils.cs
@@ -13,6 +13,10 @@ public static T Disp<T>(this T obj)
return obj;
}
-
+ public static T Disp<T>(this T obj, string format)
+ {
+ Console.WriteLine(string.Format(format, obj));
+ return obj;
+ }
}
}

0 comments on commit bc77f32

Please sign in to comment.