Advertisement
Guest User

chakrit

a guest
Nov 8th, 2008
1,378
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.54 KB | None | 0 0
  1. public static class StringExtensions
  2. {
  3.     public static string F(this string s, object arg0)
  4.     {
  5.         return string.Format(s, arg0);
  6.     }
  7.     public static string F(this string s, object arg0, object arg1)
  8.     {
  9.         return string.Format(s, arg0, arg1);
  10.     }
  11.     public static string F(this string s, object arg0, object arg1, object arg2)
  12.     {
  13.         return string.Format(s, arg0, arg1, arg2);
  14.     }
  15.     public static string F(this string s, params object[] args)
  16.     {
  17.         return string.Format(s, args);
  18.     }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement