Interview Question

Created by admin on Sat, 17/11/2012 - 16:59
Question: 

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

Language: 
Answer: 
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.