Created
September 19, 2018 21:29
-
-
Save PhiHuyHoang/befb180ac57128a5d9d5719d5ffd750f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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