view codes of inbuilt classes

  • Thread starter Thread starter rahul gupta
  • Start date Start date
R

rahul gupta

while working on widows application developing a notepad.
i came 2 know that cut ,copy and pase e.c.t are inbuit functions in
dot net and there are different properties in dot net.
we need not have to discover logic oh them.
can we have any means by which we can view the actual code working
behind these methods.
i m very curious to view their code.
 
http://www.google.com/search?q=.net+source+code

That said, I think you will find that the .NET code is fairly thin,
relying on the Windows OS features that support clipboard operations.
What you really need to do is read the documentation for the native
Win32 API if you want to understand how the clipboard works.

Pete

it is not up to only clipboard i want to acess all the code if i can
of self made functions of .net class libraries??
can i have any means to acess the code.
 
rahul said:
 [...]
http://www.google.com/search?q=.net+source+code
That said, I think you will find that the .NET code is fairly thin,
relying on the Windows OS features that support clipboard operations.
What you really need to do is read the documentation for the native
Win32 API if you want to understand how the clipboard works.
Pete
it is not up to only clipboard i want to acess all the code if i can
of self made functions of  .net class libraries??
can i have any  means to acess the code.

Yes.

so plz tell me that way......i will be thank ful 2 u
 
rahul said:
[...]

That said, I think you will find that the .NET code is fairly thin,
relying on the Windows OS features that support clipboard operations.
What you really need to do is read the documentation for the native
Win32 API if you want to understand how the clipboard works.

it is not up to only clipboard i want to acess all the code if i can
of self made functions of .net class libraries??
can i have any means to acess the code.

Yes.

so plz tell me that way......i will be thank ful 2 u

[Credit goes to Pete - he is the one who guide me on this]

Go to http://referencesource.microsoft.com/netframework.aspx
Pick version 4 as that one is the latest.
(You may have to try it many times because sometimes it is not
responding - I myself had tried more than 10 times to be successfully
download the source code, but thats probably depends on your location)
Make sure you read the instruction (and the license).

Reference source is by definition - for reference...
I don't think you can use it for any other purpose (I'm not sure... you
have to read the license). If you need a more relax license, you may
check the mono source code at http://www.mono-project.com (but it may
not cover the latest framework)

Regards.
 
Back
Top