+ public override string ToString()\r
+ {\r
+ string strAut = string.Empty;\r
+\r
+ strAut += "Tipo: " + this.GetType().Name + "\n";\r
+ \r
+ System.Reflection.PropertyInfo[] properties = this.GetType().GetProperties();\r
+ foreach ( System.Reflection.PropertyInfo property in properties )\r
+ {\r
+ strAut += property.Name + " = " + property.GetValue( this, null ) + "\n";\r
+ }\r
+ \r
+ return strAut;\r
+ }\r
+
+