Skip to content

Instantly share code, notes, and snippets.

@kb10uy
Created February 10, 2015 09:59
Show Gist options
  • Save kb10uy/cbee4ff6605f57f658d3 to your computer and use it in GitHub Desktop.
Save kb10uy/cbee4ff6605f57f658d3 to your computer and use it in GitHub Desktop.
ごちうさ6羽を見て思いついたこと
using System;
using System.Collections.Generic;
using System.Linq;
public class Program {
public static void Main(string[] args) {
Func<string> お話 = () => "ごちうさ6羽";
お話().をするお話()();
お話().をするお話().をするお話().をするお話().をするお話()()()()();
お話()
.をするお話()
.をするお話()
.をするお話()
.をするお話()
.をするお話()
.をするお話()
.をするお話()
.をするお話()
.をするお話()
.をするお話()
.をするお話()
.をするお話()
.をするお話()
.をするお話()
.をするお話()
.をするお話()
()()()()
()()()()
()()()()
()()()();
}
}
public static class GochiusaExtension {
public static Action をするお話(this string obj) {
return () => { Console.WriteLine(obj); };
}
public static Func<T> をするお話<T>(this T obj) {
return () => obj;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment