473,379 Members | 1,530 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

.NET in CSharp?

Just curiosity. I was wondering... does anyone know if the .NET Class
Library (or part of it) was programmed in C#?
Nov 15 '05 #1
11 1243
I don't know whether it was in C#, but a lot of it is in managed code, which
implies either Managed C++, C#, VB.Net, or directly in IL (or any of the
other languages that are managed)

"Natan" <nv***@mandic.com.br> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Just curiosity. I was wondering... does anyone know if the .NET Class
Library (or part of it) was programmed in C#?

Nov 15 '05 #2
Natan,

I believe that a good deal of the framework that was coded in managed
code (not the parts that use interop) were coded in C#.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Natan" <nv***@mandic.com.br> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Just curiosity. I was wondering... does anyone know if the .NET Class
Library (or part of it) was programmed in C#?

Nov 15 '05 #3
You can obtain most of the .NET namespaces in native C# code through the
Shared Source Common Language Infrastructure (SSCLI) downloadable at:

http://www.microsoft.com/downloads/d...displaylang=en

Watch for the line wrap. This is really cool, you can see how the classes
are implemented in C# code.

- Noah Coad
- Microsoft MVP & MCP
"Natan" <nv***@mandic.com.br> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Just curiosity. I was wondering... does anyone know if the .NET Class
Library (or part of it) was programmed in C#?

Nov 15 '05 #4
Natan wrote:
Just curiosity. I was wondering... does anyone know if the .NET Class
Library (or part of it) was programmed in C#?


The bulk of the source code in the Rotor Framework is in C#. While this
is not the same code as the released .NET Framework, Rotor and the
official Framework's source supposedly both branched from the same codebase.

--
mikeb
Nov 15 '05 #5
Natan <nv***@mandic.com.br> writes:
Just curiosity. I was wondering... does anyone know if the .NET Class
Library (or part of it) was programmed in C#?


I think that the answer is yes. Part of .NET is surely developed in
C#... anyway you can take a look at rotor source codes...

--
Lawrence "Rhymes" Oluyede
http://loluyede.blogspot.com
Nov 15 '05 #6
Most (if not all) of the FCL was written in C#.

Willy.

"Natan" <nv***@mandic.com.br> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Just curiosity. I was wondering... does anyone know if the .NET Class
Library (or part of it) was programmed in C#?

Nov 15 '05 #7
Noah Coad [MCP & MVP] wrote:
You can obtain most of the .NET namespaces in native C# code through the
Shared Source Common Language Infrastructure (SSCLI) downloadable at:


Cool! I din't know that! Thanks!
Nov 15 '05 #8
Yes, its mostly DllImport and COM calls :D
"Willy Denoyette [MVP]" <wi*************@pandora.be> wrote in message
news:e5**************@TK2MSFTNGP12.phx.gbl...
Most (if not all) of the FCL was written in C#.

Willy.

"Natan" <nv***@mandic.com.br> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Just curiosity. I was wondering... does anyone know if the .NET Class
Library (or part of it) was programmed in C#?


Nov 15 '05 #9
Sure some classes need to call Win32 native code or are interfacing with
COM, but does that mean the FCL is not written in C#?

Willy.
<.> wrote in message news:%2****************@TK2MSFTNGP11.phx.gbl...
Yes, its mostly DllImport and COM calls :D
"Willy Denoyette [MVP]" <wi*************@pandora.be> wrote in message
news:e5**************@TK2MSFTNGP12.phx.gbl...
Most (if not all) of the FCL was written in C#.

Willy.

"Natan" <nv***@mandic.com.br> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
> Just curiosity. I was wondering... does anyone know if the .NET Class
> Library (or part of it) was programmed in C#?



Nov 15 '05 #10
They are but they rely heavily on interop.
"Willy Denoyette [MVP]" <wi*************@pandora.be> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Sure some classes need to call Win32 native code or are interfacing with
COM, but does that mean the FCL is not written in C#?

Willy.
<.> wrote in message news:%2****************@TK2MSFTNGP11.phx.gbl...
Yes, its mostly DllImport and COM calls :D
"Willy Denoyette [MVP]" <wi*************@pandora.be> wrote in message
news:e5**************@TK2MSFTNGP12.phx.gbl...
Most (if not all) of the FCL was written in C#.

Willy.

"Natan" <nv***@mandic.com.br> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
> Just curiosity. I was wondering... does anyone know if the .NET Class
> Library (or part of it) was programmed in C#?



Nov 15 '05 #11
Sure, but isn't that the case for any programming language used on any
platform (take Java, Delphi etc..)
How would you, for instance, read data from a file or draw text to the
screen without calling into OS services?
..NET is not an operating system nor a replacement, its a multilanguage
application development platform and the FCL are just another layer (written
in C#) between the users written applications and services offered by the OS
the CLR or COM, nothing less nothing more.

Willy.

<di********@discussion.microsoft.com> wrote in message
news:O9****************@TK2MSFTNGP11.phx.gbl...
They are but they rely heavily on interop.
"Willy Denoyette [MVP]" <wi*************@pandora.be> wrote in message

Nov 15 '05 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Jonathan Grobe | last post by:
From: Nigel Perry <nigel@cosc.canterbury.ac.nz> Newsgroups: news.announce.newgroups,news.groups Subject: RFD: comp.std.csharp Date: Tue, 08 Jul 2003 00:26:01 +0000 REQUEST FOR DISCUSSION (RFD)...
7
by: Eric Gunnerson | last post by:
If you would like to see this group created, please reply to this post, making sure you leave news.groups on the newsgroups line. "Nigel Perry" <nigel@cosc.canterbury.ac.nz> wrote in message...
5
by: Mr. x | last post by:
Hello, where can I find csharp tutorial/help/samples. *.chm file is preffered. Thanks :)
8
by: Nicolas | last post by:
How do I do a RaiseEvent in csharp I'm ok in VB but csharp confused me a lot. ******* code ******** private FileSystemWatcher watcher = new FileSystemWatcher(); public delegate void...
4
by: light_wt | last post by:
Hi I am taking the 2555 class and a lot of the material is over my head. I don't like the MS's book because there is no step-by-step on interacting with the VS.NET Is there good free resource...
2
by: anand | last post by:
Hi All, Are ownerdraw buttons supported in C# ? I have an active X control which I would like to use in CSharp. Buttons have a style BS_OWNERDRAW, and to do custom drawing you have to...
7
by: Peter Smirnov | last post by:
Sorry for this newbie question but as far as I heard one need at least VisualStudio to develop CSharp applications. Is this correct? Are there otherwise some command line tools like javac.exe and...
1
by: Preston | last post by:
hello all... My friend using vb.net made a DLL file which contains a Property Kkk(ByVal key As Object) in it, I use CSharp and reference this DLL file, but in csharp object browser, there is no...
2
by: news.microsoft.com | last post by:
Hi: I work in Csharp's parser files by LEX/YACC.Now I have only CSharp-lex.l and CSharp.y file,but they not have CSharp'comment Parse. this is a part of CSharp-lex.l. ........................
2
by: Karl | last post by:
Hi all, I'm reasonably new to csharp so you have to forgive me asking what may be a stupid question... As I said, I'm new to CSharp but in VB I was able to click anywhere on a DataGridView...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.