C# TypeInfo FullName

Description

TypeInfo FullName Gets the fully qualified name of the Type, including the namespace of the Type but not the assembly.

Syntax

TypeInfo.FullName has the following syntax.


public abstract string FullName { get; }

Example

The following example displays the full name of the specified type.


using System;//w  w  w  .  j av  a 2s  . c  o m
class TestFullName 
{
    public static void Main() 
    {
        Type t = typeof(Array);
        Console.WriteLine("The full name of the Array type is {0}.", t.FullName);
    }
} 

The code above generates the following result.





















Home »
  C# Tutorial »
    System.Reflection »




EventInfo
FieldInfo
MemberInfo
MethodInfo
ParameterInfo
TypeInfo