Interview Questions

Can you have two files with the same file name in GAC?

C# Interview Questions and Answers


(Continued from previous question...)

33. Can you have two files with the same file name in GAC?

Yes, remember that GAC is a very special folder, and while normally you would not be able to place two files with the same name into a Windows folder, GAC differentiates by version number as well, so it’s possible for MyApp.dll and MyApp.dll to co-exist in GAC if the first one is version 1.0.0.0 and the second one is 1.1.0.0.

(Continued on next question...)

Other Interview Questions