The following code explains the differences.
Since the string is defined in the mscorlib assembly, its full name is returned. Thus, the assembly name will be returned where the type is specified. If I pass my class where I execute this code,
//Program is the class where this code is being executed var aa = Assembly.GetAssembly(typeof(Program)); //aa = FullName = "Obj_2_5_Using_Reflection, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" var b = Assembly.GetExecutingAssembly(); //b = FullName = "Obj_2_5_Using_Reflection, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"
RotatingWheel
source share