I am working on an assignment that specified “Do not use any external libraries”. So I created a c# application, and the first thing I did was remove all the dll’s references by default… including “System.dll”.
However, I can still add this to my code:
using System;
using System.IO;
I was just curious as to how come I do not need to have System.dll as a reference in my project to do this. Thanks!
mscorlib.dllincludes items in both those namespaces.You need to right-click your project > Properties > Build > Advanced… and check “Do not reference mscorlib.dll” to remove this reference.