What is GAC?

GAC stands for Global Assembly Cache. Whenever CLR gets installed on the machine, GAC comes as a part of it. GAC specifically stores those assemblies which will be shared by many applications. A Developer tool called Gacutil.exe is used to add any file to GAC.

In the context of .NET interview questions, GAC stands for Global Assembly Cache. Here’s an appropriate answer:

“The Global Assembly Cache (GAC) is a machine-wide repository for .NET assemblies. It’s a central storage location in the Windows operating system where shared .NET assemblies are installed for use by multiple applications on the same machine. Assemblies deployed in the GAC are typically shared by multiple applications, ensuring that there’s only one copy of the assembly on the system, which helps in avoiding versioning conflicts and ensures application stability and consistency.”