Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
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
1
Please
log in
to post a comment.
insertion sort
DateTime.Now.Date
test code
Linked List
Generic Factory pattern
Test1
helloworld_java
hihi
5. Generics
Get Bytecent Price in $USD
Please log in to post a comment.