Skip to content

Instantly share code, notes, and snippets.

@PhiHuyHoang
Created September 19, 2018 21:29
Show Gist options
  • Save PhiHuyHoang/befb180ac57128a5d9d5719d5ffd750f to your computer and use it in GitHub Desktop.
Save PhiHuyHoang/befb180ac57128a5d9d5719d5ffd750f to your computer and use it in GitHub Desktop.
public static class HoangExtension
{
public static void PlusWithHoang(this string s)
{
Console.WriteLine($"{s} - Make from HoangExtension");
}
}
class Program
{
static void Main(string[] args)
{
string s = "I done won a couple Gammys but i sold my soul to get 'em - Lucky - EMINEM";
s.PlusWithHoang();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment