fork(10) download
  1. using System;
  2. using System.Linq;
  3. using System.Collections.Generic;
  4. using System.Globalization;
  5. using System.Net;
  6.  
  7. public class Test
  8. {
  9.  
  10. public static void Main()
  11. {
  12. bool IsDisposable = typeof(IDisposable).IsAssignableFrom(typeof(System.IO.TextWriter));
  13. Console.WriteLine("Is TextWriter disposable? " + IsDisposable);
  14. }
  15. }
  16.  
  17.  
  18.  
Success #stdin #stdout 0.02s 33864KB
stdin
Standard input is empty
stdout
Is TextWriter disposable? True