Click here to Skip to main content
15,888,238 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When we write
Using system.io or system.text
Where does c#searches for these classes....?

What I have tried:

Tried to search but no fruitful result
Posted
Updated 10-Feb-21 22:14pm

1 solution

They are held in the assemblies that your project references - they aren't files, they are namespaces which are inside .NET DLL and EXE files that are added to your project automatically when it is created.
 
Share this answer
 
Comments
Member 12712527 11-Feb-21 5:10am    
Where do these DLLs and exe reside
OriginalGriff 11-Feb-21 5:24am    
They are all stored in the GAC at %WINDIR%\assembly
The actual dlls can be found in subfolders of the GAC, GAC_32, and GAC_MSIL folders, dependent on their version.
But leave them alone, or loads of things in your system will stop working! :laugh:
Member 12712527 11-Feb-21 5:38am    
Gac 32 or gac 64 or gac_msilwhats the difference
Suppose system does not reside in system.data which is in gac32 and gac64 but system.data is present in gac 32and 64 is there any difference between system.data of gac32 and that of gac64
OriginalGriff 11-Feb-21 5:50am    
Come on - what do you think Google is there for? :laugh:
Member 12712527 11-Feb-21 6:02am    
Nice logic sir... 😂

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900