Guest User

Untitled

a guest
Jan 13th, 2014
3,519
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.39 KB | None | 0 0
  1. using System;
  2. using System.Xml;
  3.  
  4. internal class Program
  5. {
  6.     private static void Main()
  7.     {
  8.         Bar(XmlWriter => XmlWriter.Flush());
  9.         Bar(XmlReader => XmlReader.Flush());
  10.     }
  11.  
  12.     private static void Bar(Action<XmlWriter> x)
  13.     {
  14.         Console.WriteLine("W");
  15.     }
  16.  
  17.     private static void Bar(Action<XmlReader> x)
  18.     {
  19.         Console.WriteLine("R");
  20.     }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment