Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は自分のプロジェクト用に独自のC#mscorlibを作成しています。しかし、基本クラスの名前空間を変更する方法はありますか。今私は必要です:
namespace System { public class Object { } }
でも私はしたい: namespace Framework { public class Object { } }
namespace Framework { public class Object { } }
どうにか可能ですか?
いいえ、それはできません。C#言語仕様では、クラス階層のルートはであると明示的に規定されていますSystem.Object。
System.Object
代替品mscorlibを作成することはかなり困難な作業です-本当にこれを実行したいですか?
mscorlib