using System;
using System.Linq;
using System.Collections.Generic;
using System.Globalization;
using System.Net;
public class Test
{
public static void Main()
{
bool IsDisposable = typeof(IDisposable).IsAssignableFrom(typeof(System.IO.TextWriter));
Console.WriteLine("Is TextWriter disposable? " + IsDisposable);
}
}
dXNpbmcgU3lzdGVtOwp1c2luZyBTeXN0ZW0uTGlucTsKdXNpbmcgU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWM7CnVzaW5nIFN5c3RlbS5HbG9iYWxpemF0aW9uOwp1c2luZyBTeXN0ZW0uTmV0OwoKcHVibGljIGNsYXNzIFRlc3QKewogIAoJcHVibGljIHN0YXRpYyB2b2lkIE1haW4oKQoJewogICAgICAgIGJvb2wgSXNEaXNwb3NhYmxlID0gdHlwZW9mKElEaXNwb3NhYmxlKS5Jc0Fzc2lnbmFibGVGcm9tKHR5cGVvZihTeXN0ZW0uSU8uVGV4dFdyaXRlcikpOwogICAgICAgIENvbnNvbGUuV3JpdGVMaW5lKCJJcyBUZXh0V3JpdGVyIGRpc3Bvc2FibGU/ICIgKyBJc0Rpc3Bvc2FibGUpOwoJfSAgIAp9CgogICAgCg==