FindType.GetTypeDescription C# (CSharp) Method

GetTypeDescription() private method

private GetTypeDescription ( Type aType ) : String
aType Type
return String
  private String GetTypeDescription(Type aType)
  {
    String str = null;

    if ( aType.IsClass )
    {
      str = "class";
    }                                 
      
    if ( aType.IsInterface )
    {
      str = "interface";
    }                                 
      
    if ( aType.IsValueType )
    {
      str = "struct";
    } 
          
    if ( aType.IsArray )
    {
      str = "array";
    }                                 
      
    return str;
  }