class AClass { void Private() { } public Action Publish() { return Private; } } class Program { static void Main(string[] args) { var anInstance = new AClass(); var publishedInstance = anInstance.Publish(); publishedInstance(); } }
Sunday, October 31, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment