我想看String类的实现,点Go to definition只能看到类的声明,没有函数的实现代码

解决方案 »

  1.   

    http://news.newhua.com/news1/news/2008/118/0811885149I47F9AC5F82242E93BHH.htmlhttp://space.itpub.net/?uid-12639172-action-viewspace-itemid-536489多少年前的“新闻”了!另外,更方便地使用Reflector来查看。
      

  2.   

    Sure, you CAN find the source code.http://referencesource.microsoft.com/
    this is the source code server.http://blogs.msdn.com/b/sburke/archive/2008/01/16/configuring-visual-studio-to-debug-net-framework-source-code.aspxthis is the tutorial to teach you how to setup visual studio..
     
      

  3.   

    用Reflector工具查看,只要是托管代码,都可以看
      

  4.   

    vs2008以后的版本都支持将源代码下载到本地
    vs2005则需要安装点东西才能看到btw:开源的不是c#,而是framework的class library
      

  5.   

    Reflector就可以了。
    http://www.red-gate.com/products/dotnet-development/reflector/赶紧去搞一个,快要收费了
    An open letter to the .NET communityRed Gate has announced that it will charge $35 for version 7 of .NET Reflector upon its release in early March. Version 7 will be sold as a perpetual license, with no time bomb or forced updates.As many of you know, our original intention was to maintain .NET Reflector as a free tool. But, after two-and-a-half years of providing it without charge, we realized that we could not make the free model work. We know that this will cause pain for some people in the .NET community, and we apologize for the change in policy.As a commercial company, we need to charge at least a nominal amount to keep .NET Reflector up-to-date and relevant. Without revenue coming in, we cannot dedicate a team of developers to ensure that Reflector remains a valuable part of .NET developers’ toolboxes.As always, your feedback is important to Red Gate, so please contribute any thoughts on this subject to our .NET Reflector forum.
      

  6.   

    我用的是VS2010,要怎样才能方便地查看源代码呢?
    一定要装Reflector吗?
      

  7.   

    Sure, you CAN find the source code.http://referencesource.microsoft.com/
    this is the source code server.http://blogs.msdn.com/b/sburke/archive/2008/01/16/configuring-visual-studio-to-debug-net-framework-source-code.aspxthis is the tutorial to teach you how to setup visual studio..
      

  8.   

    用Reflector看吧,太方便了!或者去微软msdn去
      

  9.   

    c#好象是一个语言,不是一个程序,问一个程序有源码还好说。问一个语言有源码。好象听着不对。
    mono是开源你可以下源码看看。