Display Package in C#

  1. using System;  
  2. using System.IO;  
  3. class typeofUsing  
  4. {  
  5.     static void Main()  
  6.     {  
  7.         Type t = typeof (IO);  
  8.         Console.WriteLine(t.FullName);  
  9.         if (t.IsClass) Console.WriteLine("Is a class.");  
  10.         if (t.IsAbstract) Console.WriteLine("Is abstract.");  
  11.         else Console.WriteLine("Is concrete.");  
  12.     }  
  13. }  
Answer:
 
System.IO.StreamReader
Is a class.
Is concrete.