Example

 using System; using System.Reflection; namespace Samples { public class TypeType { public static void Main() { Console.WriteLine("Delimiter: {0}", Type.Delimiter); Console.WriteLine( "Type: object"); Type t = typeof(object); Console.WriteLine("Assembly: {0}", t.Assembly); Console.WriteLine( "AssemblyQualifiedName: {0}", t.AssemblyQualifiedName); Console.WriteLine("BaseType: {0}", t.BaseType); Console.WriteLine("DeclaringType: {0}", t.DeclaringType); Console.WriteLine("FullName: {0}", t.FullName); Console.WriteLine("IsAbstract: {0}", t.IsAbstract); Console.WriteLine("IsArray: {0}", t.IsArray); Console.WriteLine("IsAutoLayout: {0}", t.IsAutoLayout); Console.WriteLine("IsExplicitLayout: {0}", t.IsExplicitLayout); Console.WriteLine("IsLayoutSequential: ...

Get .NET Framework Standard Library Annotated Reference, Volume 1: Base Class Library and Extended Numerics Library now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.