InterviewSolution
Saved Bookmarks
| 1. |
Why do we use the AssemblyQualifiedName Property in C#? |
|
Answer» The AssemblyQualifiedName property DISPLAYS the QUALIFIED assembly name associated with a TYPE. The program that demonstrates this property is as follows: using System; using System.Reflection; public class Demo { public static VOID Main() { Type t = TYPEOF(System.Object); Console.WriteLine ("Qualified assembly name:\n {0}.", t.AssemblyQualifiedName.ToString()); } }The output of the above program is as follows: Qualified assembly name: |
|