views:

91

answers:

6

how do i view source code of text box that developed by microsoft in visual studio 2008 while i am programming with c# language in visual studio 2008?

+4  A: 

.NET Reflector

Chris Shouts
+4  A: 

If the text box is part of the .net framwork you can see its source by following theses steps http://blogs.msdn.com/b/sburke/archive/2008/01/16/configuring-visual-studio-to-debug-net-framework-source-code.aspx

Scott Chamberlain
A: 

Yes it's possible see Scott Gu's blog post on how-to

http://weblogs.asp.net/scottgu/archive/2007/10/03/releasing-the-source-code-for-the-net-framework-libraries.aspx

AB Kolan
A: 

Unfortunately the .NET Framework is not Open-Source and you cannot browse the source code.

You can use Reflector to look into the Microsoft Assembly, but you won'ìt have direct access to the raw code.

Angelodev
source of a part of .Net framework has been released for open access.
this. __curious_geek
Nice to know! Thank you
Angelodev
A: 

In Visual Studio 2010, under Tools -> Options -> Debugging, if you enable "Enable .NET Framework Source Stepping" you will be able to do that.

VS will download symbols from the MS symbols server.

Mau
i can not check what yuo said, could you send me a example for testing?????????
fariba
Just debug any projects in VS2010 after enabling the option above, and you will be able to step into Framework code.Just Console.WriteLine("Step into me.") will do.
Mau