What are the main classes in C #?

What class hierarchy is most needed in order to get an excellent understanding of C # for a novice C # application programmer? Not only completely obvious things.

EDIT: To clarify, I mean, when studying C #, I would like to know which classes I should be familiar with, which will not necessarily be obvious to someone who is not experienced enough to know what is, and it is not important to learn.

EDIT2: Are there even more obscure classes? So far I know a lot about many of those already mentioned.

+4
source share
7 answers

Just found this link in another thread: map

Alternatively, download Reflector and browse the .NET Framework classes, starting with mscorlib.dll and System.dll.

+3
source

System.Collections

System.Data (many applications have a database)

System.Windows (as a desktop application)

System.Graphics (as above)

System.Diagnostics (provides various objects and methods useful for logging and debugging, it is always important in commercial code).

These namespaces contain important classes to do many everyday things done in most applications, whether the application is web or desktop. Windows is largely only suitable for desktop applications (for example, you said that you do this), and the graphics will greatly praise them (also complements web applications). You would well study all the classes in these namespaces, although you only asked for classes.

+10
source
System.Collections System.Collections.Generic System.IO System.Diagnostics 
+2
source

System.Text anyone?

This is one of the most important, at least for me, you will need to perform basic operations on the text, such as converting text between encodings ...

+2
source

For desktop applications, I would add to the GSS comment: System.Windows.Forms. These classes are the basis for desktop development.

Best regards, Sylvain.

+1
source

StringBuilder is a very important class.

Basically, if you want to do a lot of dynamic string joining with the + operator, then you really want to use StringBuilder.

0
source

I can suggest the following:

  • System.Windows.Form
  • System.Windows.FileDialog
  • System.Windows.Forms.MDIClient
  • System.Windows.Forms.MessageBox
  • System.XML.XMLDocument
  • System.XML.XMLNodeReader
  • System.XML.XMLReader
  • System.Drawing.Text
  • System.Collections. *
  • System.Diagnostics.Trace / Debug
  • System.Configuration. * - System.Component.ComponentModel
  • System.Text. *
  • System.Timers.Timer
  • System.Data. *
0
source

All Articles