maybe that's a simple question, but I'm wondering, if the following lines will have the same result every time or if it's possible that there are differences.
string assemblyName = anyType.Assembly.FullName.Split(',')[0] + ".dll";
string assemblyName = anyType.Assembly.ManifestModule.Name;
As the first line is executed 150.000 times on startup of our application, there will be many allocations of string. I want to reduce that by the second line, but I'm not sure if it will be the same in every case.