API Specifications For C#?

G

Guest

Hi,

In java, they have a full set of API specifications available for
development. Is there such an API for C# for referencing.For example, I would
like to know what are the Propertys of a Panel Control, and by refering to
the API, I would be able find them?
 
I

Ian Griffiths [C# MVP]

Boon said:
In java, they have a full set of API specifications available for
development. Is there such an API for C# for referencing.

Unlike Java, .NET makes a strong distinction between the language and the
platform. This is because .NET is designed as a multi-language system.

The same APIs available to C# are also available to VB.NET, managed C++,
Python.NET, Eiffel.NET and so on.

Given this, there isn't really a "C# API" which may be why you haven't found
what you were looking for. The API you use from C# is the same API all .NET
languages use: the .NET Framework Class Libraries.

If you've got Visual Studio .NET, it should have offered to install a copy
of the MSDN Library when you installed the development environment. This
contains comprehensive documentation for the .NET Framework Class Libraries.

Otherwise, just go here:

http://msdn.microsoft.com/library/en-us/cpref/html/cpref_start.asp?frame=trueYou'll find complete documentation for all of Microsoft's platform there.(Including non-.NET stuff by the way. That contains the documentation forthe entire Windows platform. The .NET framework is just one part of that.)As for your specific question regarding Panel:> what are the Propertys of a Panel Control, and by refering to> the API, I would be able find them?It depends on which Panel control you meant. The are two: one for webdevelopment, and one for Windows Forms (non-web) development. The web(ASP.NET) one is here:http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemwebuiwebcontrolspanelclasstopic.aspThe Windows Forms one is here:http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemwindowsformspanelclasstopic.aspI found these by typing in "Panel" in the Search on this page: http://msdn.microsoft.com/I selected the "MSDN Library" radio button first to make sure I got nothingbut documentation pages back. (I also elected to ignore the Mobile ASP.NETstuff - those are slightly different again.)--Ian Griffiths - http://www.interact-sw.co.uk/iangblog/
 
J

Jon Skeet [C# MVP]

Ian Griffiths said:
Unlike Java, .NET makes a strong distinction between the language and the
platform. This is because .NET is designed as a multi-language system.

Um, Java makes that distinction too. There's the standard class
library, and the totally separate language specification.

The only problem is the overloaded naming, where "Java" can mean both.
The distinction is technically very clear though.
 
G

Guest

Hi,
Thanks a lot, that's what I'm look for! The .Net Framework Class Libraries! :)
Thanks..anyway, one more question, as I do not have visual Studio.Net, I do
not have the MSDN library and so I have to access the libraries using the
link you told me. So other than using the link, is there a downloadable copy
of the library?

Ian Griffiths said:
Unlike Java, .NET makes a strong distinction between the language and the
platform. This is because .NET is designed as a multi-language system.

The same APIs available to C# are also available to VB.NET, managed C++,
Python.NET, Eiffel.NET and so on.

Given this, there isn't really a "C# API" which may be why you haven't found
what you were looking for. The API you use from C# is the same API all .NET
languages use: the .NET Framework Class Libraries.

If you've got Visual Studio .NET, it should have offered to install a copy
of the MSDN Library when you installed the development environment. This
contains comprehensive documentation for the .NET Framework Class Libraries.

Otherwise, just go here:

http://msdn.microsoft.com/library/en-us/cpref/html/cpref_start.asp?frame=trueYou'll find complete documentation for all of Microsoft's platform there.(Including non-.NET stuff by the way. That contains the documentation forthe entire Windows platform. The .NET framework is just one part of that.)As for your specific question regarding Panel:> what are the Propertys of a Panel Control, and by refering to> the API, I would be able find them?It depends on which Panel control you meant. The are two: one for webdevelopment, and one for Windows Forms (non-web) development. The web(ASP.NET) one is here:http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemwebuiwebcontrolspanelclasstopic.aspThe Windows Forms one is here:http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemwindowsformspanelclasstopic.aspI found these by typing in "Panel" in the Search on this page: http://msdn.microsoft.com/I selected the "MSDN Library" radio button first to make sure I got
nothingbut documentation pages back. (I also elected to ignore the Mobile ASP.NETstuff - those are slightly different again.)--Ian Griffiths - http://www.interact-sw.co.uk/iangblog/
 
M

Martin Honnen

Boon wrote:

Thanks a lot, that's what I'm look for! The .Net Framework Class Libraries! :)
Thanks..anyway, one more question, as I do not have visual Studio.Net, I do
not have the MSDN library and so I have to access the libraries using the
link you told me. So other than using the link, is there a downloadable copy
of the library?

If you download and install the .NET framework SDK you get the
documentation of the class libararies and the tools included:
<http://msdn.microsoft.com/netframework/downloads/updates/default.aspx>
 
G

Guest

Boon said:
Hi,

In java, they have a full set of API specifications available for
development. Is there such an API for C# for referencing.For example, I would
like to know what are the Propertys of a Panel Control, and by refering to
the API, I would be able find them?

I had the same question too did some digging around and found this
http://www.dotgnu.org/pnetlib-doc/
it has same lay-out as java api layout
btw have you found any difference between java 1.5 and c# for .net 2.0 i've
just started look at c# but it all seems the same even generics ect.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top