Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Extension Method Sample
//Title of this code //Rextester.Program.Main is the entry point for your code. Don't change it. using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { //Your code goes here Console.WriteLine("Hello, world! ".ExtensionMethod("Oh, yeahh!")); } } public static class MyFirstExtension { public static string ExtensionMethod(this string original, string added) { return original + added; } } }
run
|
edit
|
history
|
help
2
WDW
Interface fully qualified names
events
Get a webpage - the async way
SHA加密
Sum Matrix Row
1234
ds
shorten file paths in a commandline using regex
c# abstract